From 3ef31230a61ce74e2ae8bb116f7b4e338dd69ae6 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 17 Nov 2013 11:11:45 +1100 Subject: Switch unit tests to Catch framework. --- test/unit/README | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'test/unit/README') diff --git a/test/unit/README b/test/unit/README index 0d70fe71f..2558d8e86 100644 --- a/test/unit/README +++ b/test/unit/README @@ -1,14 +1,15 @@ The test/unit directory contains unit tests for Scintilla data structures. -The tests can be run on Windows or Linux using g++ and GNU make. -The Google Test framework is used. -http://code.google.com/p/googletest/ - -Google test must be installed first. -On Linux, install the google test packages libgtest-dev and libgtest0. -On Windows download Google test and install it as a peer to the directory -containing scintilla. The makefile assumes it is in ../../../../gtest-1.5.0. - -To run the tests: -make -./unitTest +The tests can be run on Windows, OS X, or Linux using g++ and GNU make. +The Catch test framework is used. +https://github.com/philsquared/Catch +The file catch.hpp is under the Boost Software License which is contained in LICENSE_1_0.txt + + To run the tests on OS X or Linux: +make test + + To run the tests on Windows: +mingw32-make test + + Visual C++ (2010+) and nmake can also be used on Windows: +nmake -f test.mak test -- cgit v1.2.3