• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..12-Mar-2013-

cmake/Modules/H07-May-2022-732610

contrib/H07-May-2022-14493

doc/H07-May-2022-11,6169,641

include/cgreen/H07-May-2022-458319

samples/H07-May-2022-436293

src/H12-Mar-2013-1,6191,363

tests/H07-May-2022-1,6931,290

AUTHORSH A D19-Jul-2010555 2522

COPYINGH A D19-Jul-201025.8 KiB503418

CTestConfig.cmakeH A D19-Jul-2010529 1412

ConfigureChecks.cmakeH A D19-Jul-2010469 1714

DefineOptions.cmakeH A D19-Jul-2010158 43

INSTALLH A D19-Jul-20102.3 KiB6949

LICENSEH A D19-Jul-201025.8 KiB503418

Makefile.amH A D29-Sep-2010576 125

Makefile.inH A D11-Mar-201335.4 KiB735638

READMEH A D19-Jul-20101.9 KiB5440

TODOH A D19-Jul-2010435 2720

VERSIONH A D19-Jul-20109 21

config.h.cmakeH A D19-Jul-20101.1 KiB3825

README

1Cgreen
2======
3You probably got this package from...
4http://cgreen.sourceforge.net/projects/cgreen/
5
6If there is no licence agreement with this package please download
7a version from the location above. You must read and accept that
8licence to use this software. The file is titled simply LICENSE.
9
10What is it? It's a framework for unit testing, written in C. A tool
11for C developers writing tests of their own code.
12
13If you have used JUnit, or any of the xUnit clones, you will find
14the concept familiar. In particular the tool supports a range of
15assertions, composable test suites and setup/teardown facilities.
16Because of the peculiarities of C programming, each test function
17is normally run in it's own process.
18
19This project is very close in scope to the "Check" unit tester and
20was influenced by it...
21http://check.sourceforge.net/projects/check/
22
23The main difference from this tool and other xUnit tools, such as
24"Check",  is that test results are not stored. Instead they are
25streamed to the reporter psuedo-class, one that is easily
26overridden by the end user.
27
28The other main extra feature is the support for writing mock
29callbacks. This includes generating sequences for return values
30or parameter expectations.
31
32If you want to install CGreen and have a play, just run "make" from
33the top level directory. CGreen uses CMake and I'm afraid I am no expert
34with this tool. There may well be teething problems. Please read the
35INSTALL file for more information and alternate ways to build.
36
37Feedback and queries should be sent to the mail list at Sourceforge:
38cgreen-users@lists.sourceforge.net
39
40If that doesn't work for some reason (bounce policies or whatever)
41then feel free to contact me directly:
42marcus@lastcraft.com
43
44This project would not have happened without the generous
45financial support of the Wordtracker keyword tool...
46http://www.wordtracker.com/
47
48This tool is basically a spin off from a research project at Wordtracker.
49
50yours Marcus Baker
51--
52marcus@lastcraft.com
53
54