These are methods that are called at certain times during the test execution. Initializer methods are part of a test fixture and work in the context of the class.
You can use the following functionality:
- {FixtureSetup} -> A method with this pragma will be called once, before any other test is executed.
- {FixtureTearDown} -> A method with this pragma will be called once, after every other test was executed.
- {TestSetup} -> A method with this pragma will be called every time before a test inside the test class is executed.
- {TestTearDown} -> A method with this pragma will be called every time after a test inside the test class is executed.