aboutsummaryrefslogtreecommitdiff
path: root/docs/modding-and-development/testing.md
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+gitbook@protonmail.com>2022-06-16 15:53:22 +0000
committergitbook-bot <ghost@gitbook.com>2022-06-16 15:53:22 +0000
commit027605225a7985c768879035c14946729888a88b (patch)
treed7fbaae641d770fccde558bdde857610028c5420 /docs/modding-and-development/testing.md
parenta47293ae32ef2e616d18d73f29a753e83f14c395 (diff)
downloadNorthstarWiki-027605225a7985c768879035c14946729888a88b.tar.gz
NorthstarWiki-027605225a7985c768879035c14946729888a88b.zip
GitBook: [#48] Move repository descriptions to designated page
Diffstat (limited to 'docs/modding-and-development/testing.md')
-rw-r--r--docs/modding-and-development/testing.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/modding-and-development/testing.md b/docs/modding-and-development/testing.md
new file mode 100644
index 0000000..94aa9be
--- /dev/null
+++ b/docs/modding-and-development/testing.md
@@ -0,0 +1,30 @@
+---
+description: >-
+ Instructions regarding testing new features, directed at both developers and
+ maintainers
+---
+
+# Testing
+
+{% hint style="info" %}
+This section is very much still WIP. Feel free to help expand it.
+{% endhint %}
+
+## Developers & Contributors
+
+This section applies to you if you're opening a pull request to any of the Northstar repos.
+
+Whatever your change includes, whether a bug fix or a new feature make sure to test it appropriately.
+
+This means if your change is a bug fix, it's recommend you first make sure you can reproduce the bug. Then after making the necessary changes to fix it, test it using the same method you used to originally confirm the bug.\
+When you're opening a pull request, make sure to mention how to reproduce the bug, so that reviewers can confirm that your chance indeed fixed the issue.
+
+If your change is a new feature, make sure to test both that the newly added functionality performs as expected, as well as ensuring that it doesn't introduce any form of regression bugs. This means, testing anything that might be affected by your new feature.
+
+## Maintainers
+
+This section applies to you if you're someone who's able to merge PRs in any of the repos of the Northstar GitHub org as well as when simplying performing reviews, even without being able to actually merge a PR.
+
+When reviewing pull requests on GitHub, make sure to checkout the changes made by a PR locally and test it there. In particular, test the parts of the code that are touched by a PR.
+
+After testing, make sure to mention the steps tested in your review.