Skip to content

v0.26.0

Choose a tag to compare

@synesissoftware synesissoftware released this 30 Aug 02:06
· 13 commits to master since this release
  • Improved compatibility to types that provide shims stlsoft::c_str_data_a() and stlsoft::c_str_len_a(), rather than stlsoft::c_str_ptr_a();
  • Fixed inconsistency in handling of verbosity levels (esp. XTESTS_VERBOSITY_FIRST_CASE_SUMMARY_ON_ERROR);
  • Visual C++ compatibility;
  • Further application of terse api in example and test programs;
  • Various tidyings;
  • Improved scope and consistency in example and test programs;
  • added support (including coloured output) for (in)equality testing of UDTs;
  • temp_directory now finds and deletes sockets (in addition to files);
  • fixed defect (when on UNIX) in temp_file;
  • now ensures that does not emit ANSI colour sequences when running on Windows on an old terminal that does not support them;
  • now uses stlsoft::integral_traits<> for integer test macros (in C++) to allow for custom integral types to be tested;
  • temp_file now takes a hint_dir parameter to allow specification of directory for (temporary) file;
  • added missing test macros XTESTS_TEST_FLOATINGPOINT_GREATER(), XTESTS_TEST_FLOATINGPOINT_GREATER_OR_EQUAL(), XTESTS_TEST_FLOATINGPOINT_LESS(), XTESTS_TEST_FLOATINGPOINT_LESS_OR_EQUAL();
  • added macro XTESTS_COMMANDLINE_PARSE_HELP_OR_VERBOSITY(), which allows for a unified command-line parsing in test programs;
  • added terse forms of macros, available by including xtests/terse-api.h;
  • XTESTS_COMMANDLINE_PARSE_VERBOSITY() now also recognises, if the command-line argument "--verbosity= . . ." is not found, the enviroment variables "XTESTS_VERBOSITY" and "TEST_VERBOSITY";
  • added test programs test.scratch.all_failure_messages, test.scratch.basics2, test.scratch.custom_integral_types,
  • substantial internal refactoring;
  • minor tidying to CMake facilities;
  • minor improvements to examples;
  • minor improvements to project boilerplate files;
  • updated STLSoft constructs, incl. macros;