This is the Linux app named Criterion whose latest release can be downloaded as v2.4.1.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named Criterion with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
Most test frameworks for C require a lot of boilerplate code to set up tests and test suites -- you need to create a main, then register new test suites, then register the tests within these suites, and finally call the right functions. This gives the user great control, at the unfortunate cost of simplicity. Criterion follows the KISS principle, while keeping the control the user would have with other frameworks. Supports parameterized tests and theories. Progress and statistics can be followed in real time with report hooks. TAP output format can be enabled with an option. Runs on Linux, FreeBSD, macOS, and Windows (Compiling with MinGW GCC and Visual Studio 2015+). If you'd like to see Criterion included in your favorite distribution, please reach out to their package maintainers team. A default entry point is provided, no need to declare a main unless you want to do special handling.
- C99 and C++11 compatible
- Tests are automatically registered when declared
- Implements a xUnit framework structure
- A default entry point is provided, no need to declare a main unless you want to do special handling
- Test are isolated in their own process, crashes and signals can be reported and tested
- Unified interface between C and C++: include the criterion header and it just works
This is an application that can also be fetched from https://sourceforge.net/projects/criterion.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.