dart_test_adapter library
Classes
- Group
- A group containing test cases. The group's ID is unique in the context of this test run. It's used elsewhere in the protocol to refer to this group without including its full representation.
- Metadata
- Metadatas about a test
- Suite
- A test suite corresponding to a loaded test file. The suite's ID is unique in the context of this test run. It's used elsewhere in the protocol to refer to this suite without including its full representation.
- Test
- A single test case. The test's ID is unique in the context of this test run. It's used elsewhere in the protocol to refer to this test without including its full representation.
- TestEvent
- This is the root class of the protocol. All root-level objects emitted by the JSON reporter will be subclasses of Event.
- TestEventAllSuites
- TestEventDebug
- TestEventDone
- TestEventGroup
- TestEventMessage
- TestEventStart
- TestEventSuite
- TestEventTestDone
- TestEventTestError
- TestEventTestStart
- TestEventUnknown
- TestProcessDone
Functions
-
dartTest(
{Map< String, String> ? environment, List<String> ? arguments, List<String> ? tests, String? workdingDirectory}) → Stream<TestEvent> -
Executes
dart test
and decode the output -
flutterTest(
{Map< String, String> ? environment, List<String> ? arguments, List<String> ? tests, String? workdingDirectory}) → Stream<TestEvent> -
Executes
flutter test
and decode the output
Enums
- TestDoneStatus
- Indicates the result of a test