Author Topic: OTN Headlines Blog: Grouping tests using JUnit categories |  (Read 4310 times)


  • Administrator
  • Hero Member
  • *****
  • Posts: 2389
    • View Profile
Blog: Grouping tests using JUnit categories |

"In a well-organized build process, you want lightning-fast unit tests to run first, and provide whatever feedback they can very quickly. A nice way to do this is to be able to class your tests into different categories. For example, this can make it easier to distinguish between faster running unit tests, and slower tests such as integration, performance, load or acceptance tests. This feature exists in TestNG, but, until recently, not in JUnit."

Read the full article to learn how the JUnit feature "categories" allows you to sort your tests for better and faster app testing:
« Last Edit: April 26, 2010, 07:10:21 PM by Mike »