Phil Nash
371db8b42f
Context methods are non-static - accessed via interface
...
This is a move towards allowing multiple contexts - with the concept of a (possibly thread local) "current" context
2012-05-21 18:52:09 +01:00
Phil Nash
6cd2ac7544
More reformatting
2012-05-16 08:02:20 +01:00
Phil Nash
e92dd85825
include exception registry interfaces
2012-05-11 08:16:39 +01:00
Phil Nash
d10d2d3485
More reformatting
2012-05-10 21:46:46 +01:00
Phil Nash
5ec53b2788
renamed hub -> context
...
(also did some reformatting)
2012-05-10 07:58:48 +01:00
Phil Nash
e83f839741
Renamed MutableResultInfo to ResultInfoBuilder
2012-05-08 19:32:18 +01:00
Phil Nash
5d1c8f2c6d
Replaced all file/ line pairings with SourceLineInfo
2012-05-08 19:16:18 +01:00
Phil Nash
a976c07b8d
Fixed section ordering issue
...
If a branch section completes without running any inner sections it will no run subsequent sections (until the next isolated run).
2012-05-05 19:32:52 +01:00
Phil Nash
b213202ad7
Added self-test for section ordering
...
Added MockReporter for tracking test runs.
Added intrusive smart pointer. Config holds reporter by smart pointer, so we can route the mock reporter through multiple test runs
2012-05-04 07:55:11 +01:00
Phil Nash
5e5698b792
Test Case counts reported separately from assertions
...
Test case passed/ failures are counted as well as individual assertions. The basic reporter now reports them seperately
2012-02-25 09:39:13 +00:00
Phil Nash
edd8f02bec
Pass totals around instead of individual success/ fail counts
2012-02-24 08:59:35 +00:00
Phil Nash
9bbaeba3ae
Refactored internal interfaces to use Totals instead of success/ fail
2012-02-23 18:51:21 +00:00
Phil Nash
8d93949b19
Used Counts class in IResultCapture interface
2012-02-23 08:57:51 +00:00
Phil Nash
5ddf794fbc
Added Totals class and started using it
2012-02-23 08:49:52 +00:00
Phil Nash
333e6e6254
Improved exception reporting
...
Refactored exception handling (handle more in the translator)
and report exceptions in CHECKs
2012-02-17 19:50:59 +00:00
Phil Nash
a57b025c9c
Don't redirect stout for basic reporter
2012-02-17 09:28:21 +00:00
Phil Nash
7b449f7abe
Ability to register line# for testing
...
Factored file/ line storage and formatting into common class.
Used in a static registry so failure messages can be asserted to have the file/ line in.
2012-02-15 08:20:06 +00:00
Phil Nash
a162e22fa3
Added CHECKED_IF and CHECKED_ELSE
2012-02-10 08:30:13 +00:00
Phil Nash
7c94aef660
Fix for GitHub Issue #66
...
SECTIONs distinguished by name as well as file/ line
2011-12-28 10:33:54 +00:00
Phil Nash
b13ad46532
stdout retained for all sections
...
Fixed issue where stdout was dropped between sections
2011-12-28 10:23:32 +00:00
Phil Nash
d258e49f7c
(Hopefully) fixed infinite loop in sections (GitHub #39 ).
2011-06-21 08:43:48 +01:00
Phil Nash
823ea3efd4
Re-org
2011-04-26 08:32:40 +01:00