Signed-off-by: Jean Privat <jean@pryen.org>
`nitunit` produces a XML file compatible with JUnit.
### `--dir`
`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.
In order to execute the tests, nit files are generated then compiled and executed in the giver working directory.
# Working directory for testing.
fun test_dir: String do
var dir = opt_dir.value
# 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"