comp • gb.test

gb.test

This component implements a framework for unit-testing and test-driven programming.

With this component you can develop software in a test-driven matter (write test first, program functionality afterwards) and you are able to ensure that on refactoring the desired results of your code stays the same.

Tests are output as TAP so that they can be displayed, analyzed or viewed with any Tap consumer. As each output includes a summary at the end with the string "PASSED" or "FAILED" at the last line you can even view the console output to decide whether the test has been successful or not.

Authors Christof Thalhofer, Tobias Boege, Benoît Minisini.

Class

Description
Assert
Test
TestAssertion
TestCommand
TestRunner
TestStats

For a brief description look at Gb.test – The Gambas Unittest