3.2 xUnit Extensions

     

Beyond the xUnits themselves , many add-on tools are available that extend the functionality of existing unit test frameworks into specialized domains, rather than acting as standalone tools. A representative set of popular extensions is listed here.


XMLUnit

An xUnit extension to support XML testing. Versions exist as extensions to both JUnit and NUnit. This is covered in Chapter 10 of this book.


JUnitPerf

A JUnit extension that supports writing code performance and scalability tests. It is written in and used with Java.


Cactus

A JUnit extension for unit testing server-side code such as servlets, JSPs, or EJBs. It is written in and used with Java.


JFCUnit

A JUnit extension that supports writing GUI tests for Java Swing applications. It is written in and used with Java.


NUnitForms

An NUnit extension that supports GUI tests of Windows Forms applications. It is written in C# and can be used with any .NET language.


HTMLUnit

An extension to JUnit that tests web-based applications. It simulates a web browser, and is oriented towards writing tests that deal with HTML pages.


HTTPUnit

Another JUnit extension that tests web-based applications. It is oriented towards writing tests that deal with HTTP request and response objects.


Jester

A helpful extension to JUnit that automatically finds and reports code that is not covered by unit tests. Versions exist for Python (Pester) and NUnit (Nester). Many other code coverage tools with similar functionality exist.



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

Similar book on Amazon

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