summaryrefslogtreecommitdiff
path: root/doc/documentation
diff options
context:
space:
mode:
authorNils Gillmann <ng0@n0.is>2018-07-03 06:48:54 +0000
committerNils Gillmann <ng0@n0.is>2018-07-03 06:48:54 +0000
commitc579fa83c2652aac6a093ceeb36854bee3800cbe (patch)
tree95339d63c1b3914ae4aa9d889a04aec4399d7455 /doc/documentation
parent2e7ba8a6c7dc317fdec310e04290acb1aa94a417 (diff)
Documentation: Contributing testcases
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'doc/documentation')
-rw-r--r--doc/documentation/chapters/contributing.texi19
-rw-r--r--doc/documentation/gnunet.texi1
2 files changed, 20 insertions, 0 deletions
diff --git a/doc/documentation/chapters/contributing.texi b/doc/documentation/chapters/contributing.texi
index dc87de3d6..6367f8ce6 100644
--- a/doc/documentation/chapters/contributing.texi
+++ b/doc/documentation/chapters/contributing.texi
@@ -6,6 +6,7 @@
* Licenses of contributions::
* Copyright Assignment::
* Contributing to the Reference Manual::
+* Contributing testcases::
@end menu
@node Contributing to GNUnet
@@ -90,3 +91,21 @@ In a 200+ pages handbook it's better to have footnotes accessible
without having to skip over to the end.
@end itemize
+
+@node Contributing testcases
+@section Contributing testcases
+
+In the core of gnunet, we restrict new testcases to a small subset
+of languages, in order of preference:
+@enumerate
+@item C
+@item Bash (preferable portable without too much specifics to Bash)
+@item Python (@gt{} 3.6)
+@end enumerate
+
+We welcome efforts to remove our existing python-2.7 scripts to
+replace them either with Bash or, at your choice, python-3.6+.
+
+If you contribute new python based testcases, we advise you to
+not repeat our past misfortunes and write the tests in a standard
+test framework like for example pytest.
diff --git a/doc/documentation/gnunet.texi b/doc/documentation/gnunet.texi
index 747df5cf5..7743fddea 100644
--- a/doc/documentation/gnunet.texi
+++ b/doc/documentation/gnunet.texi
@@ -150,6 +150,7 @@ GNUnet Contributors Handbook
* Licenses of contributions::
* Copyright Assignment::
* Contributing to the Reference Manual::
+* Contributing testcases::
GNUnet Developer Handbook