XP Core: 100 Unittests and counting!

at 2006-05-06 in AnnouncementsHomepageUnittests by friebe (0 comments)

Results for test suite run at Sun, 07 May 2006 13:31:22 +0200: 107 tests, 107 succeeded, 0 failed, 0 skipped

We started developing unittests to ensure the XP framework's core components' functionality a while ago and have continued doing so. With the implementation of RFC #0055 (new xp::stringOf()) the number of core tests has now exceeded one hundred!

Motivation
The XP framework is used in several places for mission-critical applications and we would like to ensure we do not break parts of it unintentionally while refactoring, changing or enhancing others. With the XP framework's unittest API at hand, it is fairly easy to create and run tests (see entry #67), and the sourcecode that needs to be written for a test is minimal.

XP: Unittests website
As you might already know, the XP website features an entire area focused on unit tests. It is located at http://unittests.xp-framework.net/ and will show an overview of available testcases grouped by topic. Test cases can be directly executed from there.

To see how different test stati are visualized have a look at the DemoTest results. It includes ignored, skipped, failed and succeeded tests.



Subscribe

You can subscribe to the XP framework's news by using RSS syndication.


Categories

News
General
PHP5
Announcements
RFCs
Further reading
Examples
Editorial
EASC
Experiments
Unittests
Databases

Related

Find related articles by a search for «XP».