3.1 xUnit Family Members


Some of the most popular xUnit test frameworks are listed next , with brief summaries of their target language and testing domain. This is just a sample of the many xUnit-derived test tools.


The reference implementation of xUnit, JUnit is by far the most widely used and extended unit test framework. It is implemented in and used with Java and is covered in Chapter 6 of this book.


The C++ port of JUnit, it closely follows the JUnit model. This is covered in Chapter 7 of this book.


The xUnit for .NET. Rather than being a direct port of JUnit, it has a .NET-specific implementation that generally follows the xUnit model. It is written in C# and can be used to test any .NET language, including C#, VB.Net, J#, and Managed C++. It is covered in Chapter 8 of this book.


The Python version of xUnit. It is included as a standard component of Python 2.1, and is covered in Chapter 9 of this book.


Also known as SmalltalkUnit, this is the original xUnit, and the basis of the xUnit architecture. It is written in and used with the Smalltalk language.


vbUnit is xUnit for Visual Basic (VB). It is written in VB and supports building unit tests in VB and COM development.


utPLSQL is xUnit for Oracle's PL/SQL language. It is written in and used with PL/SQL.


A great example of a minimal but functional unit test framework. It is implemented in three lines of C and is used to test C code.

Unit Test Frameworks
Unit Test Frameworks
ISBN: 0596006896
EAN: 2147483647
Year: 2006
Pages: 146
Authors: Paul Hamill

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net