testdriven.com Wrangling quality out of chaos

JellyUnit: Jelly-based JUnit testing mechanism

01.02.2004 · Posted in Links

JellyUnit works by using the JUnit library in a Jelly script to create JUnit TestSuite and TestCase objects. There are all the usual JUnit assertion tests available such as <assert> <assertEquals> and <fail>. You can use both Jexl and XPath expressions in the <assert> tag via either the test or the xpath attributes. Inside these [...] ...

NoUnit: Visual test-coverage tool for JUnit

01.02.2004 · Posted in Links

‘Test everything that could possibly break’ is the motto. But how good are the tests you’ve written? Are they missing any part of your code? Are you testing too much? Is something being tested only via 5 or 6 nested calls? NoUnit answers these questions by giving you a simple picture of your code. Like [...] ...

Daedalos JUnit Extensions

01.02.2004 · Posted in Links

The Daedalos JUnit Extensions aka djux allow you to define and use test resources easily within your test code. Unit tests are speeded up by using test resources, because time-consuming ...

Testing Series Part I: Overview

12.31.2003 · Posted in Links

You may have heard of a new term circulating amongst developers, magazines, and online developer haunts: test-driven development. What is it? Test-driven development is a methodology that emphasizes creating tests ...

Tags:

AntFit: A Fit task for Ant

12.29.2003 · Posted in Java

This tool, requested on the FIT wiki MakingRunners page, provides an external task for Ant that will invoke the FIT engine on the test input file. To be used in ...

Unit Testing Java Programs

12.28.2003 · Posted in Links

Testing programs can be very boring. Especially testing other people’s programs. And especially if you’re a programmer. But programmers love to write programs, so why not let the programmers write ...

Multithreaded Tests with JUnit

12.28.2003 · Posted in Links

JUnit is the glue that holds many open source projects together. But JUnit has problems performing multithreaded unit tests. This creates considerable difficulty for middleware developers in the open source ...

Using Mock Objects in Java

12.28.2003 · Posted in Links

In a framework like StrutsTestCase, mock objects are used to simulate the Struts servlet environment, making it possible to test a servlet application without having a web server running. Another ...

MakingStubs

12.23.2003 · Posted in Links

Martin Fowler writes: "A common problem with test-enhanced designs is how to create Service Stubs in test mode while letting the real thing be there for production (and for some ...