Releases: alvarezp/caddeus
Releases · alvarezp/caddeus
Caddeus 0.4
Some major changes have happened:
- Automatic test discovery has been added. It's no longer required to manually define tests.
- Multiple tests per unit are now supported.
And there are other minor but important changes too:
- Added a tweakable way to rebuild the whole project automatically if the GNUmakefile changes.
- Temporary files (test objects, binaries and timestamps) are now built to a hidden unified directory named
.caddeus
. - NDEBUG is no longer defined on release trees.
- Unused function parameters are treated as warnings by default now.
- Overall code quality has been improved.
Caddeus 0.3
This is the third development release. The GNUmakefile has been tested in 4 or 5 projects, from simple and personal to third-party, testing its adaptability. Changes from 0.2 include:
- Added automatic support for the Clang static analyzer. It will run after CppCheck. It can be disabled with
SKIP_CLANG=y
or by the presence of the RELEASE file. - Support for projects that have the Makefile in a directory and their sources in a directory under (like src/ or source/).
- The
NDEBUG
symbol is automatically defined when the RELEASE file is present. Useful to removeassert()
checks from production code. - Dependency files and timestamps have been moved to a hidden
.caddeus
directory. This helps keep the working directory tidier. - Compilation is stricter by default. The default Makefile includes
-Wextra
and-Werror
and has aWNO_ERROR
variable so you can suppress GCC warnings there, like-Wno-error=unused-variable
or-Wno-unused-parameter
if you don't even want a warning about that (useful for programs based on FUSE). This change does not appear in the fixed section. Must be adapted manually. Take a look at the source code to see what it wants to use by default. - Fixed: libraries in GCC linking process must be invoked last instead of first.
Caddeus 0.2
This is the second development release of Caddeus. Changes to the first release include:
- Support for end-to-end scripted tests by the usage of the .tt extension.
- Reorganization of the makefile so that usually-immutable sections are together. This is to make it easy to update the Caddeus makefile on projects that already adopted it.
- Support for test-specific library linking via testname_TEST_LIBS variables.
- Optional timeout support to prevent tests from running forever on infinite cycles.
- The project name dropped the "framework" word.
- Added automatic memory leaking checks if Valgrind is available.
- Added automatic static analysis if cppcheck is available.