codecheck
Test utility for CLI application. It is mainly used in track
How to develop
It is simple javascript project.
You can run it on nodejs v10.x or higher.
How to test
We are using testframework mocha
.
$ mocha
To run test, we need GNU time
command.
Unfortunatelly, the time
command which pre-installed in MacOS is not GNU
version.
You have to install GNU time
by yourself and set environment variable TIME_COMMAND
.
$ brew install gtime
$ export TIME_COMMAND=gtime
For debian linux.
$ sudo apt install time
$ export TIME_COMMAND=/usr/bin/time