trial.attributes

A module containing the attributes used to add metadata to your tests

Members

Functions

AfterAll
TestSetupAttribute AfterAll()

Mark a function to be executed after the suite ends

AfterEach
TestSetupAttribute AfterEach()

Mark a function to be executed after each test

BeforeAll
TestSetupAttribute BeforeAll()

Mark a function to be executed before the suite starts

BeforeEach
TestSetupAttribute BeforeEach()

Mark a function to be executed before each test

Test
TestAttribute Test(string file, size_t line)

Mark a test

Structs

TestAttribute
struct TestAttribute

This struct is used to mark some test functions

TestSetupAttribute
struct TestSetupAttribute

This specifies when a setup method must be called

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Szabo Bogdan