Commit graph

105 commits

Author SHA1 Message Date
Snaipe
69a05ded6d doc: Fixed wrong usage of parameterized test arrays 2016-09-27 18:52:48 +02:00
Snaipe
a9df7911d6 release: Prepare a release candidate for 2.3.0 2016-09-19 00:21:17 +02:00
Snaipe
e9ef474878 doc: Added note regarding abort in hooks. Addresses partially #163 2016-09-17 12:30:34 +02:00
Kevin Locke
07c380d6b7 asserts: Add assertions for wide strings
This commit creates _wcs_ variants of the _str_ assertions for operating
on wchar_t * instead of char *.  The assertions are useful for programs
using wchar_t strings, particularly on Windows where use of the wide
character version of the Windows API is encouraged by Microsoft.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-09-10 08:48:30 +02:00
Snaipe
fc2cf1f9d2 version: bumped version to 2.3.0-dev 2016-09-06 19:11:16 +02:00
ailu
44849f9ea4 doc: fixed debug-transport arguments 2016-09-06 18:11:03 +02:00
ailu
fbbfcb6d61 added gdb and coverage how to
check side note of #127, addition to #114
2016-09-05 10:08:52 +02:00
Snaipe
27c4db8b67 doc: Added --debug, --debug-transport & --filter to command-line flags 2016-09-03 16:07:25 +02:00
Snaipe
a4ad3084a9 options: Deprecate no-early-exit 2016-09-03 16:05:53 +02:00
László Várady
913f0e5d6a doc: fix "Example main" code snippet
Signed-off-by: László Várady <laszlo.varady@balabit.com>
2016-08-31 17:01:20 +02:00
a1lu
4d6d741357 extended glob matcher with brzozowski derivative (#111) 2016-07-23 22:32:57 +02:00
Snaipe
ff431f8860 Merge branch 'patch' into bleeding 2016-06-20 09:53:04 +02:00
Snaipe
81f2b1855a release: Prepare release 2.2.2 2016-06-20 09:36:25 +02:00
Snaipe
38653a6414 Merge branch 'master' into bleeding
This merges the changes brought by 2.2.1 into bleeding.
2016-04-13 11:57:37 +02:00
Snaipe
952687c4c9 doc: Integrated doxygen docs for parameterized tests in sphinx 2016-04-10 16:27:35 +02:00
Snaipe
70d693766c doc: Integrated doxygen on invariants to sphinx page on theories 2016-04-10 16:27:30 +02:00
Snaipe
733153cca0 Set REPEAT_BRIEF to NO 2016-04-10 15:17:06 +02:00
Snaipe
91c85cb2bc Integrated theories doxygen into sphinx docs 2016-04-10 15:17:06 +02:00
Snaipe
d2ecb5c0ac Added collapsible definition lists for sphinx docs 2016-04-10 15:12:32 +02:00
Snaipe
1d216ac929 Added more details to test option fields & integrated doxygen docs for Test and TestSuite 2016-04-10 15:12:32 +02:00
Snaipe
c270c02940 Fixed asserts doxygen & integrated them into the assertion reference 2016-04-10 15:12:32 +02:00
Snaipe
7bd7053aa5 Integrated doxygen into sphinx docs 2016-04-10 15:12:32 +02:00
Ben Linskey
e9f8d46c1b Add coverage info to FAQ in docs
Adds a question and answer explaining how to generate Gcov test coverage
data. Answer text is copied from https://github.com/Snaipe/Criterion/pull/84#issuecomment-161551069
2016-04-03 19:28:40 -04:00
Snaipe
95d7ed4356 [v2.2.1] Merge branch 'patch' (Patch release)
* Fix: fixed criterion not being embeddable with CMake's `add_directory`
* Fix: fixed resource leaks in the child pump thread
* Fix: fixed redirected standard streams being leaked by cr_(assert|expect)_std(out|err)
* Fix: fixed out of bounds during assert message sending
* Fix: fixed naming convention conflicts for internal variables used by the implementation of cr_assert
* Fix: fixed empty format string warning with GCC 4.8
* Fix: fixed file-to-file comparison assert message being corrupted
2016-03-06 13:45:29 +01:00
ailu
4bea3d5ce2 Add doxygen documentation in API headers 2016-02-20 13:09:20 +01:00
Snaipe
e53f3892d5 Merge branch 'features/new-logging' into bleeding 2016-02-18 00:25:45 +01:00
Snaipe
4b093d2a3e Added documentation on logging functions 2016-02-18 00:05:15 +01:00
László Várady
9285ea6e96 Fixed doc/assert: missing size parameter
Size parameter was missing from cr_assert_arr_eq and cr_assert_arr_neq.
2016-01-28 12:59:00 +01:00
Snaipe
b4591cd0e1 [license] Updated license year on missed files 2016-01-18 16:06:54 +01:00
Snaipe
65aa79dd52 [v2.2.0] Merge branch 'bleeding' (Version release) 2015-12-08 14:31:59 +01:00
Snaipe
1b9c13246a Fixed misformed table in assert docs 2015-12-07 15:09:30 +01:00
Snaipe
dbe2894b88 [Issue #81] Fixed documentation not mentioning that the assert message is a format string 2015-12-07 13:57:22 +01:00
Snaipe
30f2982423 Fixed main not cleaning up on special CLI actions 2015-12-04 17:41:14 +01:00
Snaipe
3e48959798 Added --quiet implication of having a provider write to stderr in documentation 2015-11-27 12:31:38 +01:00
Snaipe
1beccec921 Added back CRITERION_ENABLE_TAP and added CRITERION_OUTPUTS environment variable. 2015-11-26 00:23:27 +01:00
Snaipe
26b25cf1f9 Updated docs on the required version of GCC 2015-11-25 20:16:26 +01:00
Snaipe
eeb7ab24f3 Fixed list formatting for supported compilers in documentation 2015-11-19 14:32:24 +01:00
Snaipe
3cfb0aa5a8 Added documentation for --json 2015-11-11 13:26:49 +01:00
Snaipe
8624880183 [Issue #68] Merge branch 'features/new-reporting' into bleeding
Changelog:

~ Overhauls the output reporting system
+ Adds registration of user defined output reporters
+ Adds --output CLI switch
+ Adds --quiet CLI switch
- Removes CRITERION_ENABLE_{TAP,XML} environment variables
2015-11-11 12:51:53 +01:00
Snaipe
68b1d4dfcd Added --output CLI switch 2015-11-11 12:05:06 +01:00
Snaipe
a046cb2b3b Added documentation for registering custom output providers 2015-11-11 11:48:39 +01:00
Snaipe
554f25608f Refactored output_provider -> logger, and moved actual output providers to io/ 2015-11-11 11:04:28 +01:00
Snaipe
06dcdc32c7 Fixed typo in env doc, added missing doc for CRITERION_DISABLE_TIME_MEASUREMENTS 2015-11-11 10:40:30 +01:00
Snaipe
c5c5fe8699 Updated documentation for the new reporting system 2015-11-11 10:39:07 +01:00
Snaipe
c0e7486df3 Added --xml to help message and documentation 2015-10-05 16:27:31 +02:00
Snaipe
8db5def5e3 [Issue #56] Updated screencast 2015-09-25 14:10:58 +02:00
Snaipe
2354ba6c78 Fixed and completed documentation on parameterized tests 2015-09-23 21:54:42 +02:00
Snaipe
7263020d74 Updated documentation intro [ci skip] 2015-09-23 14:10:09 +02:00
Snaipe
7d4896da07 Updated documentation to mention extglob patterns 2015-09-23 02:19:11 +02:00
Snaipe
fbd6d3dba0 Added documentation for --jobs and CRITERION_JOBS 2015-09-23 02:11:06 +02:00