Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I can't seem to find any kind of complete reference for jUnit. The only way I've managed to find to know about all the features in jUnit is to check out all the release notes for it.

For example there is no mention of @Rules in the official page unless you count the blog posts. But for that you first need to know a feature exists to search for it.

Is there a canonical reference for jUnit? What's the best method for learning about jUnit features?

What I've tried:

  • jUnit Cookbook - Really basic, very few features covered
  • The official FAQ - Covers more but it doesn't have @Rules or anything covered there. Updated last time in 2006
share|improve this question

1 Answer

up vote 3 down vote accepted

The only really up-to date documentation that you can read as reference for new stuff is the javadoc for JUnit, though it is a bit hard to discover new things in that format of documentation.

The only thing you can rely on is, as you mentioned, through the blog posts that link from JUnit's news articles:

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.