9 projects tagged "Unit Testing"
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.
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.
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.
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.
ytest is a PHPUnit extension, based on the PHP extension "runkit", that allows you to replace static, private, and global functions with fakes, stubs, or mocks. This eases the automated testing of PHP applications that weren't written in a TDD fashion (i.e. test-first). It can also be helpful on projects where many methods are kept private, or projects that don't use OOP so much. ytest has already been used to "test after" (as opposed to "test first") some real-life commercial projects, and has proven useful. It needs PHP >= 5.2.