Commit Graph

111 Commits

Author SHA1 Message Date
Phil Nash
f36d777343 Replaced dodgy self-test code with slightly less dodgy self test meta test cases 2011-01-14 08:38:46 +00:00
Phil Nash
4b162c1341 Keep stack of runners and pass success/ fail count to EndTestCase 2011-01-14 08:26:58 +00:00
Phil Nash
b81e0b9e9c Some code clean-up 2011-01-11 19:48:48 +00:00
Phil Nash
1172d26705 Added some specialisations for toString 2011-01-11 09:21:23 +00:00
Phil Nash
263c046b84 Refactored more into Hub 2011-01-11 09:13:31 +00:00
Phil Nash
fd58d48665 Some more refactoring/ cleaning of test case files 2011-01-07 19:57:32 +00:00
Phil Nash
95627c40cf split test registry code out 2011-01-07 10:22:24 +00:00
Phil Nash
430733c918 Moved test case registry into hub 2011-01-07 10:01:40 +00:00
Phil Nash
a65f210cb2 Changed some std::string args to char* to improve compile time 2011-01-07 09:38:32 +00:00
Phil Nash
896a04f5e8 More project refactoring 2011-01-05 21:16:54 +00:00
Phil Nash
e0d530c22c Project refactoring 2011-01-05 21:14:29 +00:00
Phil Nash
b87a16d11a Fixed TestMain after recent refactorings 2011-01-05 21:07:20 +00:00
Phil Nash
4220fb6267 Added missing #includes 2011-01-05 21:04:13 +00:00
Phil Nash
b47139d245 tweaked list enum 2011-01-01 00:37:49 +00:00
Phil Nash
e24ad7db6e Renamed runnerconfig file -> config 2011-01-01 00:29:58 +00:00
Phil Nash
5a262b7d2d Project clean-up 2011-01-01 00:26:20 +00:00
Phil Nash
949d9ead04 Renamed RunnerConfig to just Config (now its the only one) 2011-01-01 00:20:14 +00:00
Phil Nash
50712a34c3 Folded ReporterConfig into RunnerConfig 2011-01-01 00:18:35 +00:00
Phil Nash
aca80a171b moved impl of hub out into hub_impl - only #included from runner. 2010-12-31 22:54:35 +00:00
Phil Nash
18e32b9b9f Only Hub #includes report_registry. Seperated reporter registrars from registry. 2010-12-31 22:46:51 +00:00
Phil Nash
764229ac4e ReporterRegistry now fully aggregated by Hub 2010-12-31 22:21:36 +00:00
Phil Nash
e846e0744d Refactored reporter related code into interface based design 2010-12-31 22:07:47 +00:00
Phil Nash
6ea8f298a4 First step to refactoring ResultsCapture into pure calls onto IResultListener interface 2010-12-31 20:49:58 +00:00
Phil Nash
245be004fe Tweak to reporter registrar to make sure generated name is unique 2010-12-31 16:12:48 +00:00
Phil Nash
27fdf01b76 Added help option 2010-12-30 18:51:02 +00:00
Phil Nash
c60156ad11 more commane line tidy up 2010-12-30 18:28:56 +00:00
Phil Nash
dc53c3a93f Tidied command line a little 2010-12-30 18:24:22 +00:00
Phil Nash
763d5c368a Fixed warning about copy ctor 2010-12-29 23:18:16 +00:00
Phil Nash
4b8e3fca32 Fixed some more warnings 2010-12-29 23:13:22 +00:00
Phil Nash
9a79ee7958 Cleaned up some more warnings 2010-12-28 17:21:29 +00:00
Michael Mortensen
9dfb8157a0 Allow tests including catch to compile with g++ flags -Wall and -Werror. 2010-12-28 15:42:46 +01:00
Michael Mortensen
4aa36f6071 Changed initialization order to avoid some warnings when compiling with g++. 2010-12-28 15:17:27 +01:00
Phil Nash
1b96cec8f2 Fixed bug with listing test cases 2010-12-28 13:31:22 +00:00
Phil Nash
034c8b6248 INFO()s are only cleared by failures or end of test case 2010-12-27 22:18:33 +00:00
Phil Nash
89c464709e INFO() now works correctly 2010-12-27 22:05:13 +00:00
Phil Nash
a36b8d0779 Added facility to write self-registering test cases as methods 2010-12-27 20:51:06 +00:00
Phil Nash
53da26eef1 Added ability to break into debugger on Windows and Mac 2010-12-27 20:49:19 +00:00
Phil Nash
0025668584 Added streaming to message macros and added scoped info 2010-12-27 11:09:34 +00:00
Phil Nash
de77ff3b29 Some tidy up 2010-12-10 20:06:54 +00:00
Phil Nash
68eec929e4 Refactored xml reporter in terms of xmlwriter and filled out new events 2010-12-10 20:01:40 +00:00
Phil Nash
a35e4b5670 Some clean-up and a little more JUnit implementation 2010-12-10 08:18:06 +00:00
Phil Nash
0ab4432025 First draft of Junit reporter 2010-12-10 08:01:42 +00:00
Phil Nash
ce319b79e5 stdout/ stderr capturing 2010-11-30 06:48:21 +00:00
Phil Nash
9a703f73d4 Tidy up after merge mess 2010-11-29 22:52:27 +00:00
Phil Nash
fa9f970890 fixed merge 2010-11-29 22:33:48 +00:00
Phil Nash
ceab2a63bd merge 2010-11-29 19:48:37 +00:00
Phil Nash
e6b2b0e656 Implemented more reporter methods and started to fill out Section impl 2010-11-29 19:40:44 +00:00
Phil Nash
388e9ffde6 Some work on sections 2010-11-19 08:30:45 +00:00
Phil Nash
7d1ce5fade toString() now works with non-specialised non-streamable types 2010-11-16 19:30:41 +00:00
Phil Nash
d52f61cc67 first cut of ObjC bindings 2010-11-14 22:47:30 +00:00
Phil Nash
3d6fa68970 Moved catch_runnerconfig.hpp into internal 2010-11-12 19:55:53 +00:00
Phil Nash
d8aa843c7d Added Visual Studio project and fixed up some warnings showing in VS 2010-11-12 19:32:13 +00:00
Phil Nash
7e8cfa714f more portability fixes 2010-11-12 08:12:01 +00:00
Phil Nash
9e4708371e some portability fixes (thanks to Sam Saariste) 2010-11-11 20:56:38 +00:00
Phil Nash
7d71e9b431 #include and newline fixes from Björn Fahller 2010-11-11 20:42:16 +00:00
Phil Nash
92f2d32f74 Fixed leak 2010-11-11 20:37:46 +00:00
Phil Nash
48a70220a3 Detect and warn about overly complex expressions 2010-11-11 07:21:57 +00:00
Phil Nash
3d0fed768a Fixed a == 1 || b == 2 case 2010-11-10 19:18:46 +00:00
Phil Nash
e3bcf68f7a Fixed temporary encapsulation violation 2010-11-10 08:43:48 +00:00
Phil Nash
3455e55538 Change some names to protect the ... reserved 2010-11-10 07:42:15 +00:00
Phil Nash
d80260001b First commit for GitHub 2010-11-09 23:24:00 +00:00