nimsuite

a simple test framework for nim.


Keywords
unittest
License
MIT
Install
nimble install nimsuite

Documentation

NimSuite

NimSuite is a simple unit test framework, based on Nimble's standard unit tests.

As nimble test, NimSuite runs the test of .nim file which is under /tests directory and filename starts with t. However, compiler messages are supressed by default and it displays the number of the test cases, the number of the passed cases and the number of the failed cases.

Usage

$ nimble install nimsuite
$ nimsuite

Nimsuite looks the current directory for tests directory, then compile and execute tests.

Options

verbose

$ nimsuite --verbose

displays all of compiler message.

clean

$ nimsuite --clean

removes test binary after execute it.