Helping ordinary people create extraordinary websites!
GET OUR NEWSLETTER
Your Email:
 

Assertion Extensions for JUnit

By Tony Morris
2005-05-05


Conclusion

If you were to try to make the assertions in the use case scenario on your code without JUnitX, you would have a considerably larger amount of work to do. A failure of your test case could easily imply an incorrectly constructed test case, rather than an incorrect software code unit, which would take even more work to diagnose. If a JUnitX test case fails and the fault in your software code unit isn't immediately obvious, you can read the source code of the included self-test suite to learn what a code unit that passes the test case looks like.

The JUnitX package will continue to evolve as demand for more functionality is required. If you have any suggestions to enhance the package's functionality, or to report a bug, please feel free to contact the author.

Tutorial Pages:
» AlphaWorks Package Allows you to Perform Unit Testing with Complex Assertions More Easily
» Getting Started with JUnitX
» Use Case Scenario
» Conclusion
» Resources


First published by IBM DeveloperWorks


 | Bookmark
Related Tutorials:
» All about JAXP, Part 1
» Make Database Queries Without the Database
» Load List Values for Improved Efficiency
» 2 Ways To Implement Session Tracking
» A Simple Way to Read an XML File in Java
» Develop Aspect-Oriented Java Applications with Eclipse and AJDT

Advertise with Us!


Tutorials Scripts Web Hosting Developer Manuals
Resources