Unit Testing and Mocking Tools: C/C++, Java, Javascript, .NET, PHP, Python, Ruby, Flex

 

This website presents a list of commerical and open soruce unit testing and mocking tools

 

The primary goal of unit testing is to take the smallest piece of testable software in the application, isolate it from the remainder of the code, and determine whether it behaves exactly as you expect. Each unit is tested separately before integrating them into modules to test the interfaces between modules. Unit testing has proven its value in that a large percentage of defects are identified during its use.

At this level of testing, tools target specific programming languages. The most famous tools is Junit, a open source framework to write repeatable tests. It was the base of the xUnit architecture for unit testing frameworks that has been used in many programming languages.