From: Jean Privat Date: Fri, 27 May 2016 02:31:05 +0000 (-0400) Subject: nitunit: the working dir is now `nitunit.out` X-Git-Url: http://nitlanguage.org nitunit: the working dir is now `nitunit.out` Signed-off-by: Jean Privat --- diff --git a/share/man/nitunit.md b/share/man/nitunit.md index e80e80e..66bf749 100644 --- a/share/man/nitunit.md +++ b/share/man/nitunit.md @@ -268,7 +268,7 @@ Output name (default is 'nitunit.xml'). `nitunit` produces a XML file compatible with JUnit. ### `--dir` -Working directory (default is '.nitunit'). +Working directory (default is 'nitunit.out'). In order to execute the tests, nit files are generated then compiled and executed in the giver working directory. diff --git a/src/testing/testing_base.nit b/src/testing/testing_base.nit index 26c3a4b..ddc167f 100644 --- a/src/testing/testing_base.nit +++ b/src/testing/testing_base.nit @@ -35,7 +35,7 @@ redef class ToolContext # Working directory for testing. fun test_dir: String do var dir = opt_dir.value - if dir == null then return ".nitunit" + if dir == null then return "nitunit.out" return dir end