9 projects tagged "Unit Testing"
LibU is a multiplatform C library that comes under a BSD-style license. It includes many interdependent modules for accomplishing several tasks: memory allocation, networking and URI parsing, string manipulation, debugging, and logging in a very compact way, plus many other miscellaneous tasks. It has a small footprint (about 70KB for the default configuration), it is modular, and it has a multiplatform nature, making it an ideal candidate for embedded systems. KLone is an example of such usage.
pyrobase assembles general Python helper functions and classes that can be applied to any project. This includes some additional tasks for the Paver build tool, an improved xmlrpc2scgi module, unit test helpers, and generic base modules for various domains. All modules have unit tests, and the goal is to reach >80% coverage.
cmocka is a unit testing framework for C with mock objects. There are a variety of C unit testing frameworks available supporting different platforms and compilers. Some development requires a lot of different compilers and older versions, which makes it difficult to use unit testing frameworks. The idea of CMocka is that a test application only requires the standard C library and CMocka itself to minimize the conflicts with standard C library headers, especially on a lot of different platforms.
Thread Weaver is a framework for writing multithreaded unit tests for Java classes. It lets you create breakpoints inside your code and to stop individual threads when they reach a breakpoint. This allows you to produce controlled repeatable tests that can help to verify thread safety and detect race conditions.
Complexity Analyzer is a utility class that can evaluate the complexity of the code in another class and provide a complexity ranking for methods. Given existing unit tests, it provides a to do list, consisting of all methods with incomplete or missing tests, again ordered by complexity. It complements PHPUnit's code coverage functionality and can be used for guiding test writing efforts. It provides command line interface options, so it can be executed as a command from a shell.