JDemo is the Java demonstration framework.
As supplement to test driven software development, JDemo provides a new approach of demo driven development: When developing software, you write short code snippets (demo cases) that use your new API. The demo then demonstrates both: how to use the API and what happens when you execute the code. So you can for example interactively test the usability of GUI components.
The JDemo project has a lot of convenience classes and methods that make implementing those demos very easy. The demos can then be launched from a Swing application called Demo Runner.
Demos can also be used for automatically taking screenshots for documentation purposes.
· JDK 1.6
What's New in This Release:
· JDemo has been updated to be more compatible and similar to JUnit 4: it contains a new @Demo annotation that can be used to mark methods as demo methods.
· This release includes a DemoAsTestRunner that can be used to run demos as JUnit 4 tests.
· The JDemo framework and the Eclipse plugin are now based on JDK 1.6, and contain some minor improvements.