What is an XUnit framework?
•
A standardized set of language-independent concepts
and constructs for writing and running unit tests
•
There is an XUnit framework for virtually every language
•
Examples are JUnit for Java, CppUnit for C++, PHPUnit
for PHP, UTPL/SQL for Oracle SQL
•
Traditionally open-source
•
All support certain constructs:
–
TestCase and TestSuite are well-defined entities
–
The assertion syntax follows rough standards, e.g.
assertEquals(comment, expected, actual)
•
All provide a TestRunner program to run tests
•
Listed at http://xprogramming.com/software.htm
评论0
最新资源