nitls: add option --path to force the output of paths only

Otherwise, a couple `name (filepath)` is displayed for each entry

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: can use `--depends` with others options.

~~~
$ nitls ../examples/hello_world.nit ../examples/calculator.nit -d
calculator (../examples/calculator.nit)
gtk (../lib/gtk.nit)
gtk3_4 (../lib/gtk3_4)
hello_world (../examples/hello_world.nit)
standard (../lib/standard)
~~~

~~~
$ nitls ../examples/hello_world.nit ../examples/calculator.nit -d -t -p
../examples/calculator.nit
`--../examples/calculator.nit
../lib/gtk.nit
`--../lib/gtk.nit
../lib/gtk3_4
|--../lib/gtk3_4/gdk_enums.nit
|--../lib/gtk3_4/gtk3_4.nit
|--../lib/gtk3_4/gtk_assistant.nit
|--../lib/gtk3_4/gtk_core.nit
|--../lib/gtk3_4/gtk_dialogs.nit
|--../lib/gtk3_4/gtk_enums.nit
`--../lib/gtk3_4/gtk_widgets_ext.nit
../examples/hello_world.nit
`--../examples/hello_world.nit
../lib/standard
|--../lib/standard/environ.nit
|--../lib/standard/exec.nit
|--../lib/standard/file.nit
|--../lib/standard/gc.nit
|--../lib/standard/kernel.nit
|--../lib/standard/math.nit
|--../lib/standard/posix.nit
|--../lib/standard/standard.nit
|--../lib/standard/stream.nit
|--../lib/standard/string.nit
|--../lib/standard/string_search.nit
|--../lib/standard/time.nit
`--../lib/standard/collection
   |--../lib/standard/collection/abstract_collection.nit
   |--../lib/standard/collection/array.nit
   |--../lib/standard/collection/collection.nit
   |--../lib/standard/collection/hash_collection.nit
   |--../lib/standard/collection/list.nit
   |--../lib/standard/collection/range.nit
   `--../lib/standard/collection/sorter.nit
~~~
nitunit: more verbose on execution

prints the generated file name and some statistics.

Signed-off-by: Jean Privat <jean@pryen.org>
nitunit: add option `--no-act` that does noes run the units

It just analyses and extract units.

Signed-off-by: Jean Privat <jean@pryen.org>
nitunit: lower verbosity level to track each execution of test

Signed-off-by: Jean Privat <jean@pryen.org>
markdown: understang github fencing

~~~~
blabla
~~~
code
~~~
blabla
~~~~

Signed-off-by: Jean Privat <jean@pryen.org>
parser_util: fix and nitunitfy `parse_something`

Signed-off-by: Jean Privat <jean@pryen.org>
niti: force `eval` to parse things as modules.

Signed-off-by: Jean Privat <jean@pryen.org>
nitunit: allows multiple independant block in a single comment

A new block is started by non-trivial modules

Signed-off-by: Jean Privat <jean@pryen.org>
nitunit: `-W` warns fishy block in comments

Usefull to find buggy nitunit tests with the `--no-act` flag.

Signed-off-by: Jean Privat <jean@pryen.org>
nitunit: keeps track of the source directory of the tested module.

So you can do something like `nitunit src/tests.nit`.
Alternative of #415

Signed-off-by: Jean Privat <jean@pryen.org>
lib: fix some nitunit tests, thanks to the new features of the tool

Signed-off-by: Jean Privat <jean@pryen.org>
tests: update sav/nitunit & sav/test_markdown

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: option `-M` aliases `-d`, `-p` and `-s`

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: use `-P` for `--project`. `-p` is already used for `--path`

Signed-off-by: Jean Privat <jean@pryen.org>
tests: update nitls

Signed-off-by: Jean Privat <jean@pryen.org>
nitls: parse options before instantiating modelbuilder

Because things, eg paths, may depend on options,

Signed-off-by: Jean Privat <jean@pryen.org>
Merge: Improve nitunit

More robust, verbose, helpfull and now understand the fences `~~~`

Also fix some existing nitunit tests.

Pull-Request: #415
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge: improve nitls

Improve nitls to be more versatile.

Pull-Request: #413
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>