Package com.carrotsearch.ant.tasks.junit4

Provides JUnit4: a JUnit test runner for ANT with parallel slave JVM execution, load balancing and more reporting options.

See:
          Description

Interface Summary
SuiteBalancer A test balancer schedules test suites to be executed on a given JVM.
 

Class Summary
BalancersList A nested list of SuiteBalancers.
DecodeEventStream A simple utility to decode JSON event stream's APPEND_* chunks back into a character stream.
DiagnosticsListener  
DuplicateResources Duplicate nested resources N times.
Duration  
FormattingUtils Formatting utilities for consistency across code.
JUnit4 An ANT task to run JUnit4 tests.
JUnit4.ExtendedPropertySet A PropertySet with an additional attribute specifying whether or not empty values should be propagated or ignored.
JUnit4.ExtendedVariable A Environment.Variable with an additional attribute specifying whether or not empty values should be propagated or ignored.
ListenersList  
LocalSlaveStreamHandler Establish event passing with a subprocess and pump events to the bus.
PickFromListTask An ANT task to pick and fix the random seed in advance (for selecting other derivative values, for example).
PickFromListTask.StringValue Nested value element.
PickSeedTask An ANT task to pick and fix the random seed in advance (for selecting other derivative values, for example).
Pluralize  
SlaveInfo Static slave information.
SuiteBalancer.Assignment  
TestsSummary Summary of tests execution.
TestsSummaryEventListener Create a summary of tests execution.
 

Enum Summary
JUnit4.JvmOutputAction What to do on JVM output?
 

Package com.carrotsearch.ant.tasks.junit4 Description

Provides JUnit4: a JUnit test runner for ANT with parallel slave JVM execution, load balancing and more reporting options.

See JUnit4 for the documentation of available task options.

Listeners and reporters API is covered in AggregatedEventListener class. Note that the API is event-based and uses Google Guava's EventBus to distribute events. Check out existing reporters for implementation details:

Examples of use and more resources can be found at: Carrot Search labs site.



Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.