Package org.apache.commons.jelly.tags.junit

A collection of JUnit tags for performing unit tests written in Jelly script.

See:
          Description

Class Summary
AssertEqualsTag Compares an actual object against an expected object and if they are different then the test will fail.
AssertFileContainsTag Checks that a file exists, and if not, then the test will fail.
AssertFileExistsTag Checks that a file exists, and if not, then the test will fail.
AssertFileNotFoundTag Checks that a file cant be found.
AssertTag Performs an assertion that a given boolean expression, or XPath expression is true.
AssertTagSupport The abstract base class of any assertion tag which is useful for implementation inheritence.
AssertThrowsTag Runs its body and asserts that an exception is thrown by it.
CaseTag Represents a single test case in a test suite; this tag is analagous to JUnit's TestCase class.
FailTag This tag causes a failure message.
JellyTestSuite An abstract base class for creating a TestSuite via a Jelly script.
JUnitTagLibrary Describes the Taglib.
RunTag This tag will run the given Test which could be an individual TestCase or a TestSuite.
SuiteTag Represents a collection of TestCases..
 

Error Summary
JellyAssertionFailedError JellyAssertionFailedError is a JUnit AssertionFailedError which is LocationAware so that it can include details of where in the JellyUnit test case that the failure occurred.
 

Package org.apache.commons.jelly.tags.junit Description

A collection of JUnit tags for performing unit tests written in Jelly script.

The <suite> tag allows a test suite to be created and then test cases can either be individually ran or the whole suite ran.

The <case> tag allows a single test case to be created as part of a suite.

The <run> tag can be used to run a given Test, TestCase or TestSuite

There is an example of these tags in action here



Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.