7 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.
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.
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.