From: Nils Gillmann Date: Tue, 3 Jul 2018 06:48:54 +0000 (+0000) Subject: Documentation: Contributing testcases X-Git-Tag: v0.11.0~322^2~98 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c579fa83c2652aac6a093ceeb36854bee3800cbe;p=oweals%2Fgnunet.git Documentation: Contributing testcases Signed-off-by: Nils Gillmann --- 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