Releases: nluka/ntest
Releases · nluka/ntest
v1.5.0
- Most
ntest::assert_*
functions now return bool indicating whether the assertion passed/failed - Added optional
assertion_callback
tontest::generate_report
allowing user to run code for each assertion with access to thentest::assertion
data structure and the assertion outcome - Added
ntest::config::set_show_column_numbers
to allow previously-impossible omission of column numbers in serialized file names and markdown reports - Fixed some character-escaping issues
- Misc. code hardening through tougher warnings
Full Changelog: v1.4.1...v1.5.0
v1.4.0
v1.3.0
v1.2.0
v1.1.0
- When using assert_arr, a std::runtime_error will now be thrown when either ('expected' size > 0 and 'expected' data == nullptr) OR ('actual' size > 0 and 'actual' data == nullptr)
- Residual .expected and .actual files can now be removed automatically using the new
init
function