Digital Media Web Blogs > Web

Artima SuiteRunner is a free open source testing toolkit for Java released under the Open Software License. You can use this tool with JUnit to run existing JUnit test suites, or standalone to create unit and conformance tests for Java APIs.

One advantage of using Artima SuiteRunner to run your JUnit tests is Artima SuiteRunner's reporter architecture. A reporter is an object that collects test results and presents them in some way to users. Artima SuiteRunner includes several build-in configurable reporters that can write to the standard error and output streams, files, and a graphical user interface. But Artima SuiteRunner also supports custom reporters. If you want to present results of tests in a different way, such as HTML, email, database, or log files, you can create your own custom reporter that presents results in those ways. This tutorial will show you how to create a custom reporter, using as an example a custom reporter that formats test results in XML.

Digital Media Web Blogs > Web

CodeCon 2.0: Day Two

CodeCon 2.0, the hackers conference continued today with five more interesting presentations.
Digital Media Web Blogs > Web

CodeCon 2.0: Day One

CodeCon 2.0, the hackers conference started today in San Francisco and this writeup covers the presentations of the first day.
Digital Media Web Blogs > Web
In ruling that the Bells don't have to offer their lines to competitors at regulated rates, the FCC has essentially given the high-speed bandwidth business to the phone company.
Digital Media Web Blogs > Web

Cascade attacks

From the abstract: "For such networks where loads can redistribute among the nodes, intentional attacks can lead to a cascade of overload failures, which can in turn cause the entire or a substantial part of the network to collapse."
Digital Media Web Blogs > Web
A paper from the Brookings Institution argues that strict copying controls are harmful to the market for music.
Digital Media Web Blogs > Web
An IETF standard for NAT traversal - excellent.
Digital Media Web Blogs > Web

P2P should use HTTP

P2P based on HTTP - this is fantastic.
Digital Media Web Blogs > Web
The newly formed Echo Networks will offer music dowloads through a standard and open platform. Does that include Ogg/Vorbis downloads?
Digital Media Web Blogs > Web

Artima.com has published an article by Bill Venners, Matt Gerrans, and Frank Sommers in which they explain why JUnit didn't solve their particular testing problems, and how they created Artima SuiteRunner, a free, open source test toolkit and JUnit runner.

Here's an excerpt:

Because JUnit links the concepts of running and reporting in the notion of a runner, we made Artima SuiteRunner a JUnit runner. You can use Artima SuiteRunner to run and report results of JUnit tests, just like you can use JUnit's text or Swing runners. The three main advantages of using SuiteRunner to run your JUnit tests are reporters, runpaths, and recipe files:

  • A reporter collects and presents test results in a highly customizable way to the user. Examples are text, graphics, Web pages, database output, CSV files, XML, and email alerts.
  • A runpath lets you load classes for your tests from anywhere with an easy- to-configure list of filenames, directory paths, and/or URLs.
  • A recipe file captures and saves in a file the run properties of a particular suite of tests for easy reuse.





Topics of Interest

Related Books

Archives


 
 


Or, visit our complete archive.  

Stay Connected