Skip to main content

Module tests

Module tests 

Source
Expand description

Test framework types for Shape AST

Structs§

AssertStatement
Assert statement for simple assertions
ExpectStatement
Expect-style assertion (BDD style)
ShouldStatement
Should-style assertion (natural language)
TestCase
Individual test case
TestDef
Test definition containing test cases and fixtures
TestMatchOptions
Options for pattern matching in tests

Enums§

ExpectationMatcher
Expectation matchers for expect statements
ShouldMatcher
Matchers for should statements
TestFixture
Test fixtures for setting up test data
TestStatement
Statements that can appear in tests