Picture how good your Tests are |
|
|
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 :
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:
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).
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:
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. |
|||||||||||||||||||
NoUnit is open , free , distributable software under the terms of the GNU General Public License. |