Unit testing
Testing is an underestimated part of software development. There are several aspects of testing involving the people who are responsible for the delivered product, product owners, ICT developer and content specialist. Each one has its specific testing object. The first tests are made by the developers self are called the Unit-tests. A successful Unit-test is the essential start for other tests and a show-stopper if not successful executed.
But how to perform Unit-tests for several development environments. Here are some examples of tools that help to perform the tests:
- Java JUnit, the reference for all other (unit) tests. Build and used for java.
- PHP PHPUnit, Build like jUnit for PHP.
- Javascript QUnit, JavaScript testing
JUnit
Maybe the first UnitTest tool ever build is the JUnit test for Java development. JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. JUnit features include:
- Assertions for testing expected results
- Test fixtures for sharing common test data
- Test runners for running tests
JUnit was originally written by Erich Gamma and Kent Beck.
Junit lambda
JUnit Lambda is the working title for the next generation of JUnit. The goal is to create an up-to-date foundation for developer-side testing on the JVM. This includes focusing on Java 8 and above, as well as enabling many different styles of testing.
- Junit Lambda, Homepage
PHPUnit
PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks. PHPUnit is written and maintained by Sebastian Bergmann. This framework is still improving and the latest version (8.5.4) is a sound and proof working base for development.
- PHPUnit, Homepage
QUnit
QUnit is a powerful, easy-to-use JavaScript unit testing framework. It's used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself!
- qunitjs Home page
- code jquery, Download page jQuery and Qunit.