Commit Graph

4439 Commits

Author SHA1 Message Date
Phil Nash 5108821199 Removed OutputDebugString support until I can test it on a Windows machine 2011-01-19 19:19:06 +00:00
Phil Nash ae307b000a Started adding support for isolated sections 2011-01-19 08:52:25 +00:00
Phil Nash 2b05dfaf05 Incremental naming for annonymous test cases 2011-01-18 20:09:21 +00:00
Phil Nash dd7f13ccbb Added ANON_TEST_CASE() macro 2011-01-18 19:54:51 +00:00
Phil Nash 9ca0988e0f Renamed catch_default_main.hpp to catch_with_main.hpp 2011-01-18 19:52:19 +00:00
Phil Nash bfc1ee6c62 Cleaned up config class a bit 2011-01-18 19:49:00 +00:00
Phil Nash 2885339287 Allow output stream to be specified on the command line 2011-01-18 09:20:06 +00:00
Phil Nash 925409d7e9 Added self test to project 2011-01-14 16:21:53 +00:00
Phil Nash 6c010e25d9 A single embedded runner instance can now be used for multiple nested runs, with results reset between each. Meta test runner looking very clean now. 2011-01-14 16:21:11 +00:00
Phil Nash 684baf1053 Don't run tests starting with ./ by default. Changed all low-level self tests to be in ./ 2011-01-14 08:47:43 +00:00
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 f063c2ae2a Reformatted basic reporter signatures 2011-01-14 08:30:17 +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 92f3b9398b Project update 2011-01-01 00:31:30 +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 04ecced419 Moved boilerplate main for obj bindings into header 2010-12-28 22:43:32 +00:00
Phil Nash 9a79ee7958 Cleaned up some more warnings 2010-12-28 17:21:29 +00:00
Phil Nash 3000f6a3b1 Merge remote branch 'socketpuppet/master' 2010-12-28 17:18:06 +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
Phil Nash 36ff7ba720 Fixes to the self test 2010-12-28 14:41:57 +00: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 01f3dfffbc Fixed OCTest project to use new REQUIRE macro 2010-12-27 22:37:51 +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