How to use Behaviour Level Instructions? - iks-gmbh-tools/SysNat GitHub Wiki
Behaviour Level Instructions are instructions that do belong either to no single XX or to all XX of a Behaviour. Instead they are adressed to the Behaviour itself. There are four different types:
Name | Meaning | JUnit Analog |
---|---|---|
OneTimePrecondition | executed once before the first XX is started | @BeforeClass |
Precondition | executed before each XX | @Before |
Cleanup | executed after each XX | @After |
OneTimeCleanup | executed once after the last XX has been executed | @AfterClass |
The use of these kind of instructions as shown here: