auto_test library
Classes
- AutoSource
- AutoTests
- A marker annotation used to instruct dart2js to keep reflection information for the annotated classes.
- BeforeEach
- FailingTest
- A marker annotation used to annotate test methods which are expected to fail.
- ParameterizedTest
- SkippedTest
- A marker annotation used to annotate test methods which are skipped.
- Test
- TestTimeout
- A marker annotation used to annotate test methods with additional timeout information.
- ValueSource
Constants
- assertFailingTest → const _AssertFailingTest
-
A marker annotation used to annotate test methods which are expected to fail
when asserts are enabled.
_AssertFailingTest()
- autoSetUp → const BeforeEach
- autoSource → const AutoSource
- autoTest → const Test
-
Test()
- autoTests → const AutoTests
- beforeEach → const BeforeEach
- failingTest → const FailingTest
- A marker annotation used to annotate test methods which are expected to fail.
- parameterizedTest → const ParameterizedTest
- skippedTest → const SkippedTest
- A marker annotation used to annotate test methods that should be skipped.
- soloTest → const _SoloTest
-
A marker annotation used to annotate "solo" groups and tests.
@Deprecated('Dev only')
_SoloTest()
Functions
-
defineAutoSuite(
void define(), {String name = ''}) → void -
Run the
define
function parameter that calls defineAutoSuite to add normal and "solo" tests, and also calls defineAutoSuite 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. -
defineAutoTests(
Type type) → void -
Runs test methods existing in the given
type
.