| Class | Description |
|---|---|
| Test001SimpleUseCase |
This is a test-based tutorial introducing to randomized JUnit testing using
RandomizedRunner. |
| Test002ExtendingRandomizedTest |
To start using pseudo-randomization we need to get hold of the
RandomizedContext instance associated with the test. |
| Test003UsingRandomness |
So far we haven't really used the
Random provided by
RandomizedRunner. |
| Test003UsingRandomness.Adder | |
| Test004MoreRandomness |
Randomness is entwined everywhere in
RandomizedRunner. |
| Test004MoreRandomness.OrderRandomized | |
| Test004MoreRandomness.OrderRandomizedButFixed | |
| Test004MoreRandomness.OrderRegression | |
| Test005RecoveringRandomSeed |
RandomizedRunner uses several "contexts", each of which is assigned a
predictable Random and is modeled using a Randomness
instance. |
| Test006RepeatingTests |
In example
Test005RecoveringRandomSeed we presented
Randomness contexts and how they are derived from a master seed. |
| Test007ParameterizedTests |
Parameterized tests are tricky.
|
| Test008Timeouts |
RandomizedRunner has built-in support for enforcing test timeouts. |
| Test009ThreadLeaks |
Leaked background threads can crash tests randomly even if all seeds are
known and predictable.
|
| Test010Lingering |
In many cases the creation of background threads lies beyond our control (and
their direct termination or even awaiting for their termination) is not
possible.
|
| Test011NightlyTests |
Running tests on a developer machine is often a pain, in particular when
certain tests are long and repetitive.
|
| Test012TestGroups |
We introduced the notion of
Nightly tests in
Test011NightlyTests. |
| Test014Listeners |
RandomizedRunner respects an on-suite class Listeners
annotation and instantiates classes that implement RunListener. |
| Test015CustomMethodProviders |
Because many people are nearly religious about how test methods
should be annotated or structured
RandomizedRunner can use
a custom method selector for designating test methods. |
| Test015CustomMethodProviders.MethodEndsWithTest | |
| Test015CustomMethodProviders.TestClass |
| Annotation Type | Description |
|---|---|
| Test012TestGroups.RequiresDisplay |
Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.