Module trial.discovery.spec

A module containing the discovery logic for spec tests

Functions

NameDescription
after(setup) Define a function that will be ran after all the tests were ran
afterEach(setup) Define a function that will be ran after each test
before(setup) Define a function that will be ran before all the tests
beforeEach(setup) Define a function that will be ran before each test
describe(name, description) Define a Spec test suite
it(name, test, file, line) Define a Spec
it(name, file, line) Define a pending Spec
parseString(someString)

Classes

NameDescription
SpecTestDiscovery The default test discovery looks for unit test sections and groups them by module

Templates

NameDescription
Spec The main spec container