Test Suite PreviousNext

Each Eiffel library should come with a unit test suite runnable with getest. The test case classes should be placed in $GOBO/library/<library-name>/test/unit along with the Xace files, ECF files and the getest configuration files to run the tests.

The purpose of these tests is to make sure that the library classes work as expected (i.e. as specified by the assertions) and also to make sure that they compile correctly with the compilers which compile only alive code. Note that this was the case with the previously supported compiler SmartEiffel.

These tests are also useful for library maintainers who have not access to all supported Eiffel compilers or to some operating systems. That way the maintainers can ask others from the Gobo development team to run the tests on other platforms or with other compilers for them.

Finally the $GOBO/library/<library-name>/test directory is used as regression test to make sure that no new bugs have been introduced between two releases.

Note: getest is based on Jim Weirich's EiffelUnit tool but has the advantage to work with all Eiffel compilers supported by the Gobo Eiffel Project.


Copyright 2001-2016, Eric Bezault
mailto:ericb@gobosoft.com
http://www.gobosoft.com
Last Updated: 22 December 2016
HomeTocPreviousNext