Skip to content

Releases: Snaipe/Criterion

v2.1.0: Version 2.1.0

21 Sep 20:49
Compare
Choose a tag to compare
* Addition: Added file mocking utilities
* Addition: Added parameterized tests

v2.0.2

20 Sep 10:59
Compare
Choose a tag to compare
Version 2.0.2

* Fix: Fixed rare bug where tests from only one compilation unit would run.

v2.0.1: Version 2.0.1

19 Sep 13:03
Compare
Choose a tag to compare
* Fix: Fixed wrong setjmp() usage making tests compiled with optimisations
  crash.

v2.0.0

14 Sep 02:36
Compare
Choose a tag to compare
Version 2.0.0

* Breaking: ABI incompatibility with prior versions of criterion. You
  **must** recompile your tests.
* Breaking: cr_abort_test(NULL) does not compile anymore.
* Change: Changed all assertion macros to accept a printf format string as a
  message.
* Change: Made the API C++11-compatible.
* Change: Made the library ISO C compliant. You can now compile the library
  with VC 14+.
* Addition: Added support for theories.
* Addition: Added ability to test the exit status of a test.
* Addition: Added C++11 throw assertions.
* Addition: Added assert message localization.
* Addition: Added test timeouts.
* Addition: Added test standard i/o redirection & file comparison assertions.
* Removal: Removed the deprecated prefixless assertion macros
* Deprecation: Deprecated cr_abort_test.
* Deprecation: cr_{assert,expect}_strings_* and cr_{assert,expect}_arrays_*
  are deprecated in favor of cr_{assert,expect}_str_* and
  cr_{assert,expect}_arr_* respectively.

v1.3.1: Version 1.3.1

20 Aug 18:59
Compare
Choose a tag to compare
* Fixed OS X and Windows section iterations
* Fixed report hooks not working on OS X and Windows
* Fixed duplicated output when writing in PRE_ALL to a redirected stdout/err
* Added -S switch to display filenames in their short version

Version 1.3.0

05 Aug 05:05
Compare
Choose a tag to compare
  • Turned the library into a shared library.
  • Added extended globbing for --pattern (requires PCRE)
  • Switched to a CMake build system
  • Fixed windows builds & output
  • Added basic windows SEH-to-signal translator

Version 1.2.1

26 Apr 14:12
Compare
Choose a tag to compare
  • Added a cr_ prefix to all assertion macros. Old macros are deprecated and will be removed in a future version.

Version 1.2.0

15 Apr 22:11
Compare
Choose a tag to compare
  • Added native Windows support through MinGW
  • Fixed inaccurate statistics on disabled and crashing tests
  • Fixed asserts not aborting the test when used in functions
  • Fixed programs not compiling when no tests are declared
  • Added assert_null to test for pointer nullity
  • Added assert_arrays_eq_cmp for padded struct arrays equality
  • Added i18n support
  • Added fr_FR localization

Version 1.1.0

24 Mar 15:18
Compare
Choose a tag to compare
  • Refactored logging system
  • Changed output format to a better-looking one
  • Added Syntactic coloration
  • Added test suite separation
  • Added test suite statistics
  • Added --list option
  • Added --fail-fast option
  • Added --pattern option

Version 1.0.0

17 Mar 23:09
Compare
Choose a tag to compare
  • Fixed various issues with the build system
  • Added timing on tests (elapsed time is displayed)
  • Changed assertions prototypes
  • Made the library headers ansi-compliant
  • Bugfixes