JUnit

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 ]

Articles
Tutorials
  

Articles:
  • Migrating from JUnit 3 to JUnit 4: Nothing but Good News by Charles A. Sharp   - [Clicks: 42]
    This article assumes that you're considering a move to JUnit 4 and would like to gain some idea of the amount of work necessary to modify a JUnit 3 test to take advantage of the features of JUnit 4. To that end, it provides information to answer the previous questions more completely.
    http://www.ociweb.com/jnb/jnbAug2007.html - Aug, 2007
  • Emma: After the Green Bar by Michael Easter   - [Clicks: 47]
    With the rise of agile methodologies such as Test-Driven Development (TDD) and landmark tools like JUnit, code coverage is gaining new traction. There are now coverage tools that strive for two goals: to simplify generation of project-wide statistics, and to establish code coverage as an integrated, "next step" in the iterative process of agile development. This article examines one such tool, Emma, and illustrates both the agile and project-wide aspects of modern, post-JUnit code coverage using a simple Java example.
    http://www.ociweb.com/jnb/jnbFeb2007.html - Feb, 2007
  • Unit Testing J2EE platform components with JUnit and JUnitEE frameworks in IBM Rational Application Developer Version 6.0.2: Part 1. Unit testing Java and EJB applications by Abraham WoldeMichael, Johan Diamond   - [Clicks: 239]
    This is Part 1 of a three-part series of articles. It demonstrates how you can use an open source test framework, such as JUnit and JUnitEE, to unit test Java and EJB applications by using IBM Rational Application Developer Version 6 in an IBM WebSphere Application Server Version 6 environment.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/rational/library/07/0102_woldemichael/index.html - Jan, 2007

[Top]

Tutorials:
  • Jump into JUnit 4 by Andrew Glover   - [Clicks: 96]
    JUnit 4 has dropped the strict naming conventions and inheritance hierarchies of old, in favor of the streamlined flexibility of Java 5 annotations. In this tutorial, a supplement to his popular series on code quality, testing fanatic Andrew Glover shows you how to leverage the new features enabled by annotations, including parametric tests, exception tests, and timed tests. He also introduces JUnit 4's flexible fixtures and shows you how to use annotations, rather than suites, to logically group tests before running them. The tutorial includes several sample tests run in Eclipse and instructions for running JUnit 4 tests in older, incompatible versions of Ant.
    [Formats: html, pdf]
    http://www-128.ibm.com/developerworks/edu/j-dw-java-junit4.html - Feb, 2007

[Top]