From 7882ccb57399f09969ff8709cf55d7917770a388 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Thu, 26 May 2016 22:31:05 -0400 Subject: [PATCH] nitunit: the working dir is now `nitunit.out` Signed-off-by: Jean Privat --- share/man/nitunit.md | 2 +- src/testing/testing_base.nit | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.9.5