Login
cfix 1.7.0.3773
-
License:
Freeware
-
Latest Version:
1.7.0.3773
-
Editors' Review:
Not yet reviewed
-
Updated:
Dec 12, 2009
- Publisher:
-
Platform:
Windows
- Category:
- Subcategory:
-
File size:
4.98 Mb
-
Downloads:
324
Author's Description
cfix - xUnit testing framework for C/C++,
xUnit testing framework for C/C++, specialized for Win32 (32/64 bit)
cfix is a framework for authoring and running xUnit-like testcases written in C or C++. The aim of the tool is to provide a development experience very similar to frameworks such as JUnit or NUnit. Due to the nature of C and C++, current unit testing frameworks for C and C++ hardly reach the ease of use of JUnit or NUnit. In particular, it can be noticed that significantly more code needs to be written for implementing a test suite.
Languages like Java and the various .Net languages, as well as scripting languages, all provide reflection facilities. Unit testing frameworks for these languages can therefore rely on reflective features in order to minimize the amount of code required to define a test suite. Provided a library, the framework can find and identify test cases and is able to selectively run them.
Lacking similar reflective facilities, the route most unit testing frameworks for C and C++ have chosen is to oblige the developer to explicitly define test cases and fixtures. Taking CUnit as an example, the developer has to make explictit function calls to define a test suite, add test cases to the suite and to finally run this suite.
CppUnit simplifies this a bit, but still requires the developer to implement quite some amount of initialization code. Another important drawback of this approach is the fact that no real separation between test code and test runner is done. Often, even the choice whether to use a graphical or a console frontend for running test is tied to this initialization code.
Based on this observation, it is clearly desirable to minimize the amount of boilerplate code the developer has to write. Furthermore, a separation (in terms of artifacts, i.e. binaries) between the code to be tested and the test runner application is crucial.
xUnit testing framework for C/C++, specialized for Win32 (32/64 bit)
cfix is a framework for authoring and running xUnit-like testcases written in C or C++. The aim of the tool is to provide a development experience very similar to frameworks such as JUnit or NUnit. Due to the nature of C and C++, current unit testing frameworks for C and C++ hardly reach the ease of use of JUnit or NUnit. In particular, it can be noticed that significantly more code needs to be written for implementing a test suite.
Languages like Java and the various .Net languages, as well as scripting languages, all provide reflection facilities. Unit testing frameworks for these languages can therefore rely on reflective features in order to minimize the amount of code required to define a test suite. Provided a library, the framework can find and identify test cases and is able to selectively run them.
Lacking similar reflective facilities, the route most unit testing frameworks for C and C++ have chosen is to oblige the developer to explicitly define test cases and fixtures. Taking CUnit as an example, the developer has to make explictit function calls to define a test suite, add test cases to the suite and to finally run this suite.
CppUnit simplifies this a bit, but still requires the developer to implement quite some amount of initialization code. Another important drawback of this approach is the fact that no real separation between test code and test runner is done. Often, even the choice whether to use a graphical or a console frontend for running test is tied to this initialization code.
Based on this observation, it is clearly desirable to minimize the amount of boilerplate code the developer has to write. Furthermore, a separation (in terms of artifacts, i.e. binaries) between the code to be tested and the test runner application is crucial.
cfix 1.7.0.3773 is licensed as Freeware for the Windows operating system / platform. cfix is provided as a free download for all software users (Freeware).
User Reviews (0)
No reviews yet, be the first to add a review and we'll give you some extra points.
Download Notice
cfix is periodically updated by FileCluster but you may encounter situations when the software informations are slightly out-of-date, the developer can modify this product without notifying us. Version [1.7.0.3773] is currently the latest updated version of the software.
Any form of support or software problems will be addressd directly to its developers, J Passing. Please be aware that we do NOT provide cfix cracks, serial numbers, registration codes or any forms of pirated software downloads.
Any form of support or software problems will be addressd directly to its developers, J Passing. Please be aware that we do NOT provide cfix cracks, serial numbers, registration codes or any forms of pirated software downloads.
Related Software


