Phil Nash
|
886d9d397c
|
Reporter command line parser errors more eagerly
- show all “unrecognised option” errors
|
2013-12-20 19:06:02 +00:00 |
|
Phil Nash
|
1870ca8455
|
Some Clara/ command line clean-up and tweaks
|
2013-08-16 18:57:57 +01:00 |
|
Phil Nash
|
f3d1f08c3b
|
Removed all trailing whitespace
- addresses #105
|
2013-07-03 19:14:59 +01:00 |
|
Phil Nash
|
11381c146c
|
Tweaked indentation of errors and test lists
|
2013-06-07 19:06:30 +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
|
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
|
aee9b75e37
|
Now fully switched over to Clara-based command line with modified args
|
2013-06-04 08:37:28 +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
|
40e529740c
|
Removed stream name from config
|
2013-05-29 19:06:25 +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
|
b3acf45d70
|
Fully committed to new Text class.
- moved impl into .hpp
- replaced last few uses of LineWrapper with Text
- removed LineWrapper
|
2013-04-20 19:36:40 +01:00 |
|
Phil Nash
|
7059c6e1c3
|
Text class mostly working
- tabs not yet working
|
2013-04-19 19:08:32 +01:00 |
|
Phil Nash
|
15fd032608
|
Use new line wrapper to show test case list, with tags, in columns
|
2013-03-28 22:13:31 +00:00 |
|
Phil Nash
|
9e8abc33e7
|
Simplified StringWrapper
- by changing intoStream to << overload
- and removing redundant ctor
|
2013-03-27 23:36:58 +00:00 |
|
Phil Nash
|
b052bd729a
|
Refactored string wrapper
- to be much more flexible (writes to vector)
- fixed a couple of bugs
|
2013-03-27 19:08:16 +00:00 |
|
Phil Nash
|
7542685a2f
|
Moved "no test cases matched" message to reporter
|
2013-03-12 19:06:40 +00:00 |
|
Phil Nash
|
ca79d19325
|
Suppress "no test cases matched" message if there was no test spec string
|
2013-02-19 18:41:57 +00:00 |
|
Phil Nash
|
42aef1d99c
|
Fairly major reworking of console reporter (still in progress).
Changed reporter interface a bit.
|
2013-01-13 21:51:44 +00:00 |
|
Phil Nash
|
bcad093af7
|
Console reporter is now the default
|
2012-12-10 08:54:57 +00:00 |
|
Phil Nash
|
b56aaf4c36
|
Version uses constructor instead of initialiser to avoid warnings
|
2012-12-01 23:42:47 +00:00 |
|
Phil Nash
|
4e12e12c1f
|
Streaming reporter interface is now used natively.
Legacy reporters are adapted by their factories.
|
2012-11-30 19:15:23 +00:00 |
|
Phil Nash
|
f4774d9642
|
Reference to legacy reporter adapter localised to one place
|
2012-11-30 09:13:27 +00:00 |
|
Phil Nash
|
ad6701d222
|
SectionInfo now goes via new streaming reporter interface
|
2012-11-30 08:58:46 +00:00 |
|
Phil Nash
|
4b36001698
|
Tightened up ReporterConfig and added it to LegacyReporterAdapter
|
2012-11-26 23:28:00 +00:00 |
|
Phil Nash
|
f9d92634f5
|
First cut of using new streaming reporter interface - using an adapter to map back to the legacy interface
Doesn't do sections or the query functions (e.g. shouldRedirectStdOut)
|
2012-11-25 21:43:36 +00:00 |
|
Phil Nash
|
06a671a349
|
Renamed TestCaseInfo -> TestCase
|
2012-11-22 19:17:20 +00:00 |
|
Phil Nash
|
a90a88adcd
|
Junit reporter uses filename for suite name if no explicit groups
|
2012-11-19 19:59:10 +00:00 |
|
Phil Nash
|
7673a308d9
|
Added versioning
|
2012-11-15 22:15:41 +00:00 |
|
Phil Nash
|
c4160e9ef8
|
Fixed alternate stream bugs
|
2012-09-26 18:36:58 +01:00 |
|
Phil Nash
|
5f66d1d001
|
Added cleanup as per #125
|
2012-09-21 18:44:22 +01:00 |
|
Phil Nash
|
fc1baac7f5
|
First cut of tags support
|
2012-09-15 17:53:27 +01:00 |
|
Phil Nash
|
dae5808666
|
Output option description lines that don't end in newline
|
2012-09-09 11:25:02 +01:00 |
|
Phil Nash
|
e2d215e9c0
|
Added internal documentation for some options
|
2012-09-07 17:52:35 +01:00 |
|
Phil Nash
|
62b7039a7b
|
Fixed #114 (no exit code on failure)
|
2012-08-31 18:46:13 +01:00 |
|
Phil Nash
|
55764c8d47
|
Added warnings - first one: no assertions
|
2012-08-28 08:20:18 +01:00 |
|
Phil Nash
|
ecf934b045
|
Option objects now enforce min/ max args generically
|
2012-08-27 21:42:55 +01:00 |
|
Phil Nash
|
e7db40034c
|
Generate help from options objects
|
2012-08-27 12:19:07 +01:00 |
|
Phil Nash
|
eb775aa7af
|
Refactored command line parsers into polymorphic classes
|
2012-08-25 21:26:05 +01:00 |
|
Phil Nash
|
56d5c42912
|
First cut of new filtering mechanism
|
2012-08-23 20:08:50 +01:00 |
|
Phil Nash
|
a760772f77
|
Moved ofstream back out to Main - to address #112
|
2012-08-20 19:11:14 +01:00 |
|