cake library
Classes
- AssertFailure
- Returned after an Expect has failed
- AssertNeutral
- Returned if an Expect is never ran or is inconclusive.
- AssertPass
- Returned after an Expect has succeeded.
- AssertResult
-
Context<
ExpectedType> - Context is how information can be passed from stage to stage.
-
ContextCreator<
C extends Context> -
Contextual<
ContextualContext extends Context> - Contextual is the base class for all Cake testing objects, such as Test, Group, and TestRunner.
-
Expect<
ExpectedType> - Expects are used in Test.assertions to check if an assertion is true or false.
-
Group<
GroupContext extends Context> - Create a Group with a Custom Context
-
GroupOf<
ExpectedType> -
Create a Group with a Default Context of an
ExpectedType
-
Test<
TestContext extends Context> - Create a Test with a Custom Context
- TestMessage
- Outputs a message to the console
-
TestOf<
ExpectedType> -
Create a Test with a Default Context of an
ExpectedType
- TestOptions
- Options are an inheritable object that can be set on a TestRunner, Group, or Test. Any child settings will override parent settings, if set.
-
TestRunner<
TestRunnerContext extends Context> - Create a TestRunner with a Custom Context
- TestRunnerDefault
-
Create a TestRunner with a Default Context with no or dynamic
ExpectedType
-
TestRunnerOf<
ExpectedType> -
Create a TestRunner with a Default Context of an
ExpectedType
Typedefs
- OnComplete = void Function(String message)
- Callback for when all tests have finished within a test runner