NoUnit Logo
Picture how good your Tests are

Sample Report
Sample Report
How NoUnit works
Help Wanted
... Download
... CVS-Source
... Tasks
... All Mailing-Lists
... Join Mailing-List
... Forum
... Bugs
... News
... Documents
What is NoUnit?
How does NoUnit work?
What are Code Pictures?
Are Code Pictures limited to just showing JUnit tests?
But I can do that already from the source ...
Aren't Code Pictures just like UML?
How do I use NoUnit?
What Code Pictures / Reports are available?
Where can I get NoUnit?
Why Does it read Java Byte Code?
Why doesn't it do X? How can I Help?
How do I contact the NoUnit project team?
Question not here? Other Documentation.

What is NoUnit?
NoUnit allows you to see how good your JUnit tests are. It generates a report from your code to graphically show you how many of your project's methods are being tested , and how well.

How does NoUnit work?
NoUnit Generates the report in two steps. First , it reads the Java (byte) code and generates XML from it. Then it transforms this XML into the HTML (Code Picture) report of your choice , either using XSLT or Java - JDOM

What are Code Pictures?
Code Pictures are another way of looking at your code. In the same way that a graph makes it easy to understand a spreadsheet of figures , a code picture makes it easy to understand what is going on in your code. The main NoUnit report is a sample of a code picture. Green is good , Red is bad - even somebody with no knowledge of JUnit tests can understand it!

Are Code Pictures limited to just showing JUnit tests?
No! You can easily write a Code Picture report to show you anything you like. Examples (not yet written!) include :
  • Code Smells , like a novice Java Programmer putting everything in one big method.
  • Show tests that you have written not being called by the Test Suite.
  • Whether the code you have written actually conforms to the design pattern you have chosen.
  • Expert Advice - reads your code and makes suggestions on how to do it better.

But I can do that already by looking at the code ..!
Yep , you can get all the info from the Source. NoUnit and Code Pictures make it easier by:
  • Automating the process : you've got better things to do than reading code all day! NoUnit / Code Pictures scan the code and show you what you're looking for in a simple format ... (Green good ,Orange OK red bad!)
  • Share your knowledge! NoUnit reports and Code Pictures can be there , even when you are not. Ever needed advice at 2am in the morning? Code Pictures (from other Experts) can be there for you!

Aren't Code Pictures just like UML?
Nope. UML (Unified Modeling Language) reports , can be produced from Java , but are much more complex. Code Pictures are simple and aim to tell you one thing (e.g. in NoUnit , the extent of your JUnit tests). Typically you can summarize them in one line (e.g. less red the better etc.)
You could generate UML from Code Pictures, but why bother? There are many open-source UML tools out there!

How do I use NoUnit?
NoUnit / Code Pictures are meant to be as easy to use as possible. Full instructions on using NoUnit and Code Pictures are available here.

What Code Pictures / Reports are available?
Downloading the NoUnit package currently gives you two Code Pictures ( reports).
  • A simple overview of your classes and methods
  • NoUnit report sample here.
We hope to add more later. There is space within the NoUnit CVS folders for sharing any reports that you create (XSLT folder) .

Where can I get NoUnit?
NoUnit is hosted on SourceForge. The main SourceForge page for NoUnit can be found here

Why Does it read Java Byte Code? - Why not the source code?
Three reasons:
  • You will always have byte code, even when you might not have the original source.
  • Byte Code is nice and tidy , where Source Code can be messy!
  • When JClassLib (available through NetBeans) became available , it became the easiest thing to use!
It would be nice to have additional readers , to scan not only Java Source code , but also Java Classes stored in Jars.

Why doesn't it do X? How can I Help?
It may already be on our list of things to do. (Check out the SourceForge task list).

If it isn't , NoUnit can be easily extended - more information is available here.

We'd be very interested in hearing about any extensions you do! (Even better we'd like to include them in NoUnit!)

How do I contact the NoUnit project team?
Best way to get in touch with us is via the Mailing list / Forums on SourceForge. Before you do , check out the 'Other Information' below , to see if we've already answered your question?

Your Question not here? Other sources of Information.
Other places to find the information you're looking for include:

More NoUnit / Code Picture documentation that we'll be gathering together on SourceForge.

Javadoc from the source.

The NoUnit project Tasks, Mailing-Lists, Forums, Bugsand News on SourceForge.

SourceForge Logo NoUnit is open , free , distributable software under the terms of the GNU General Public License.

Google Site map Generator Tool NoUnit is sponsored by