Konstantin Baumann
cdbcd6aa5e
added new timing related command line options
...
2 new timing related command line options have been added:
- performance-timings [-p]: print out performance timings per test case
and group
- performance-timings-threshold [-q <secs>]: print out only the timings
exceeding this given threshold value
2013-07-23 17:11:43 +02:00
Konstantin Baumann
4e7b104f36
added timing output to the console logger
2013-07-23 14:19:50 +02:00
Konstantin Baumann
f8f1d77e87
added a VS2012 project under the "projects" folder
2013-07-23 14:14:08 +02:00
Konstantin Baumann
d4fa900b84
JunitReporter reimplemented using the new IStreamingReporter interface
...
* created new AccumulatingReporterBase class for accumulating test
results hierarchically and store them for a single processResults() call
after all tests have been executed; sections are currently not handled,
since their usage are optional and/or could be nested arbitrarily, which
would result in overly complex code, IMHO
* JunitReporter reimplemented on top of this new
AccumulatingReporterBase class
* added support for tracking time spend in each test case, each test
group, and overall tests to the base "*Stats" classes; this enables each
reporter (derived from IStreamingReporter interface) to report the
timings; for now only the JunitReporter takes advantage of that.
2013-07-23 14:10:37 +02:00
Kosta
b80c3b043a
added timing support to jUnit XML reporter
...
Implemented support for report test timings in the jUnit XML reporter.
The implementation uses the new C++11 chrono functionality, but all
this has been encapsulated in only 3 lines at the top of the
JunitReporter class, which should allow for an easy adjustment for
non-C++11-compilers...
2013-07-22 20:49:54 +02:00
Phil Nash
1d3dd71774
Fixed returns in docs ref
2013-06-14 08:41:59 +01:00
Phil Nash
a26ddc9ca7
New docs for command line and logging
2013-06-14 08:32:48 +01:00
Phil Nash
5b15c21c9c
Fixed iTChRunner
2013-06-12 19:05:21 +01:00
Phil Nash
fd1cd7820d
Completed assertions docs
2013-06-10 08:18:26 +01:00
Phil Nash
46953c8319
Filled out reference index and added placeholders for assertions and logging docs
2013-06-10 08:08:20 +01:00
Phil Nash
d07cd3353f
Added new docs for supplying your own main.
2013-06-07 23:06:54 +01:00
Phil Nash
0ec7ea2e49
Doc updates
2013-06-07 21:31:28 +01:00
Phil Nash
7d5f2715ce
Fixed script for new readme
...
- updated README with new version
- fixed casing error for -e opt description
2013-06-07 21:15:25 +01:00
Phil Nash
f3592f2102
Docs progress
2013-06-07 19:09:38 +01:00
Phil Nash
786959d535
build 39
2013-06-07 19:07:50 +01:00
Phil Nash
11381c146c
Tweaked indentation of errors and test lists
2013-06-07 19:06:30 +01:00
Phil Nash
27cae858d0
Use Text formatter to list reporters
2013-06-07 18:56:43 +01:00
Phil Nash
80557647d6
re-encapsulated session vars.
...
- construct Config object lazily
2013-06-07 18:41:22 +01:00
Phil Nash
8fde14313b
Session vars are public
2013-06-07 08:04:05 +01:00
Phil Nash
f438e04b5d
list options return number listed
2013-06-06 22:54:42 +01:00
Phil Nash
e035e2835d
tweaks
2013-06-06 18:56:43 +01:00
Phil Nash
a7e657fd9b
Refactored new Session class to make it more friendly for custom client code
2013-06-06 18:51:24 +01:00
Phil Nash
c1196b6245
Moved all Catch::Main()s into new Session class
...
- renamed them run()
- moved cleanUp call into destructor
2013-06-05 18:48:18 +01:00
Phil Nash
c57ebc84b2
Approved latest changes
2013-06-05 08:20:34 +01:00
Phil Nash
cb60d130f8
Runner -> RunContext, Runner2 -> Runner and fixed issue with processName
2013-06-05 08:18:52 +01:00
Phil Nash
1b47e11387
Added processConfig() method
2013-06-04 22:49:14 +01:00
Phil Nash
2ed56c47a6
Removed legacy cli parser
2013-06-04 08:38:40 +01:00
Phil Nash
aee9b75e37
Now fully switched over to Clara-based command line with modified args
2013-06-04 08:37:28 +01:00
Phil Nash
130ec986c7
Start of new docs
2013-06-03 20:03:39 +01:00
Phil Nash
4e88ccda56
Start of new docs
2013-06-03 20:03:07 +01:00
Phil Nash
0514fe4f38
Got parseCommandLine ready to use new Clara (but not doing so yet)
2013-05-31 18:48:31 +01:00
Phil Nash
f330fe7ef9
Made generated function name more obvious (for quickly finding in debugger's stack viewer)
2013-05-31 08:11:01 +01:00
Phil Nash
c9f0f55451
Last changes to ConfigData names (for now)
2013-05-31 08:01:56 +01:00
Phil Nash
40e529740c
Removed stream name from config
2013-05-29 19:06:25 +01:00
Phil Nash
3f184e22e8
ConfigData now looks virtually identical to the Clara test Config
2013-05-29 19:01:06 +01:00
Phil Nash
20ddb0055f
ConfigData just keeps strings for test names/ specs/ tags (processed in Config actor)
2013-05-29 18:56:29 +01:00
Phil Nash
c2ca80d9fb
Config refactoring: split List enum into three bools
2013-05-29 18:42:46 +01:00
Phil Nash
3c3beb57c3
More config refactoring
2013-05-29 18:34:11 +01:00
Phil Nash
be8fd82f20
Started nudging ConfigData towards new layout
2013-05-29 08:12:57 +01:00
Phil Nash
f6892bfdf0
Listing is now in terms of interface (and calls to bool functions)
2013-05-29 07:59:01 +01:00
Phil Nash
6b8837bd93
Final refactoring to remove direct access to encapsulated ConfigData once in Config
2013-05-28 19:07:29 +01:00
Phil Nash
43fe6c6e9e
Main() functions deal with raw ConfigData
2013-05-28 18:59:29 +01:00
Phil Nash
ca9b92f8fa
Most of system now uses Ptr<IConfig const>
2013-05-28 18:51:53 +01:00
Phil Nash
e1459955f1
Refactoring towards interface based config
2013-05-28 18:39:32 +01:00
Phil Nash
10fa0593db
Moved Clara into its (her?) own file
2013-05-27 10:52:58 +01:00
Phil Nash
1e547afe79
Tweaked some option names and added verbosity
2013-05-24 19:23:44 +01:00
Phil Nash
ab6dd55fcf
Clara: formatting and code tweaks
2013-05-23 19:01:10 +01:00
Phil Nash
b7632659f5
Clara: Usage strings for args
2013-05-21 19:21:24 +01:00
Phil Nash
ed79d726be
Clara: support for positional arguments
2013-05-21 08:15:50 +01:00
Phil Nash
30cb460d42
Clara: added test for positional arg
2013-05-20 18:45:33 +01:00