Runnable
s into RunnableAssert
s
and adds them to this MultithreadingTester
,
returns this
to allow method chaining.Callable
s into RunnableAssert
s
and adds them to this MultithreadingTester
,
returns this
to allow method chaining.WildcardPatternSuite
and the ParallelSuite
runner to exclude tests if they are
annotated with @Category
.WildcardPatternSuite
and the ParallelSuite
runner to include tests if they are
annotated with @Category
.@RunWith(InnerTestClassesSuite.class)
.RunnableAssert
s
concurrently in multiple threads several times.1000
,
returns this
to allow method chaining.MultithreadingTester.run()
,
default is 100
,
returns this
to allow method chaining.Parameterized
runner, which executes the tests for each parameter set
concurrently.Theories
runner, which executes
all @Test
methods concurrently.WildcardPatternSuite
runner, which executes
its children classes concurrently.RunnableAssert
s
several times.PollingWait.until(com.googlecode.junittoolbox.RunnableAssert)
, if it throws any
Error
or Exception
.PollingWait
for usage example.Throwable
.WildcardPatternSuite
and the ParallelSuite
runner.MultiException
is empty then no action is taken,
if it contains a single Throwable
that is thrown,
otherwise this MultiException
is thrown.TigerThrower.sneakyThrow(Throwable)
which
enables you to throw any checked Exception
from any method,
even if its type is not listed in the method signature.runnableAssert
until it succeeds without throwing an Error
or
Exception
or until the configured timeout
is reached, in which case an AssertionError
will be thrown.Callable<Boolean>
until it returns true
or until the configured
timeout
is reached, in which case an
AssertionError
will be thrown.Suite
and Categories
,
which allows you to specify the children classes of your test suite class
using a wildcard pattern.Copyright © 2017. All rights reserved.