test_reflective_loader library

Classes

FailingTest
A marker annotation used to annotate test methods which are expected to fail.
SkippedTest
A marker annotation used to annotate test methods which are skipped.
TestTimeout
A marker annotation used to annotate test methods with additional timeout information.

Constants

assertFailingTest → const Object
A marker annotation used to annotate test methods which are expected to fail when asserts are enabled.
failingTest → const Object
A marker annotation used to annotate test methods which are expected to fail.
reflectiveTest → const Object
A marker annotation used to instruct dart2js to keep reflection information for the annotated classes.
skippedTest → const Object
A marker annotation used to annotate test methods that should be skipped.
soloTest → const Object
A marker annotation used to annotate "solo" groups and tests.

Functions

defineReflectiveSuite(void define(), {String name = ''}) → void
Run the define function parameter that calls defineReflectiveTests to add normal and "solo" tests, and also calls defineReflectiveSuite to create embedded suites. If the current suite is the top-level one, perform check for "solo" groups and tests, and run all or only "solo" items.
defineReflectiveTests(Type type) → void
Runs test methods existing in the given type.