Release 0.18
🏗️ New features
Display seconds on time taken in #362
Display seconds if total time taken is >=1000 ms.
Running in parallel #358
Run each test in child process, randomizing the tests execution order.
Synchronous: ~40 sec
VS
Parallel: ~20 sec
New verbose option #374
Rename the "old --verbose behaviour" to "--detailed" in #369
Display internal details for each test.
New assertions
assert_true
(docs) andassert_false
(docs)assert_file_contains
(docs) andassert_file_not_contains
(docs)assert_not_same
(docs)
Add global functions in #347
We added a set of global functions to improve your developer experience (docs)
current_dir
: gets the current directory namecurrent_filename
: gets the current filenamecaller_filename
: gets the caller filenamecaller_line
: gets the caller linecurrent_timestamp
: gets the current timestamprandom_str <?length>
: generate a random stringtemp_file <?prefix>
: creates a temporal filetemp_dir <?prefix>
: creates a temporal directorylog <?level> <text>
: see: Globals > logis_command_available <command>
: checks if command is available
🌾 Miscellaneous
- Improve build in #364
- Improve installer in #360 #365
- Use mktemp compatible bash 3.2 in #355
- Normalize boolean syntax in #346
- Better cleanup temporal files in #349
- Add bashdep to installation in #351
- Improve CI tests runtime (halved) in #353
- Add some default env values in #356
- Rename logger.sh to reports.sh in #361
- Fix tr warning on ubuntu's CI in #373
See the full changelog in GitHub