RandomizedRunner: randomized tests under control and more.See: Description
| Interface | Description |
|---|---|
| SeedDecorator |
This is an advanced feature.
|
| TestMethodProvider |
Responsible for providing individual test instances and their descriptions.
|
| ThreadFilter |
| Class | Description |
|---|---|
| AnnotatedMethodProvider |
Base class for
TestMethodProviders based on annotations. |
| AssertingRandom |
A random with a delegate, preventing
Random.setSeed(long) and locked
to be used by a single thread. |
| ClassGlobFilter |
A filter for
Description.getClassName(). |
| ClassModel |
Class model for a test suite.
|
| ClassModel.FieldModel | |
| ClassModel.MethodModel | |
| GlobFilter |
A filter that matches something using globbing (*) pattern.
|
| JUnit3MethodProvider |
Method provider selecting tests that follow a name pattern of
test(.*). |
| JUnit4MethodProvider |
Method provider selecting
Test annotated public instance parameterless methods. |
| MethodGlobFilter |
A filter for
Description.getMethodName(). |
| MixWithSuiteName |
A
SeedDecorator to be used with SeedDecorators annotation
to modify the master Randomness with a hash off the suite's class name. |
| RandomizedContext |
Context variables for an execution of a test suite (hooks and tests) running
under a
RandomizedRunner. |
| RandomizedRunner |
A
Runner implementation for running randomized test cases with
predictable and repeatable randomness. |
| RandomizedTest |
Common scaffolding for subclassing randomized tests.
|
| Randomness |
Per-thread, per-lifecycle state randomness defined as an initial seed and
the current Random instance.
|
| ReproduceErrorMessageBuilder |
A builder for constructing "reproduce with" message.
|
| Rethrow |
Rethrowing checked exceptions as unchecked ones.
|
| RuntimeTestGroup |
Runtime information about a
TestGroup. |
| SeedUtils |
Utilities for parsing random seeds.
|
| SysGlobals |
Global names for system properties controlling the behavior of
JUnit4 ANT task
and RandomizedRunner. |
| TempPathResource |
A temporary path resource will be deleted at the end of a given lifecycle phase.
|
| TraceFormatting |
Utilities for dealing with throwables, stacks, etc.
|
| Enum | Description |
|---|---|
| ClassModel.Scope | |
| LifecycleScope |
Lifecycle stages for tracking resources.
|
RandomizedRunner: randomized tests under control and more.
Inspired by the Apache Lucene project's infrastructure, this project brings a refactored, stand-alone runner for JUnit 4.x tests, which encapsulates built-in repeatable randomized tests, threading and timeout control, parameter factories, thread execution groups and more. Everything is JUnit compatible and will work in your favorite IDE.
RandomizedRunner provides a Runner implementation
for JUnit's RunWith annotation.
Core classes to look at:
Examples of use and more resources can be found at: Carrot Search labs site.
Copyright © 2011-2013 Carrot Search s.c.. All Rights Reserved.