Package io.ryos.rhino.sdk.annotations
Annotation Type After
-
@Retention(RUNTIME) @Target(METHOD) public @interface After
Method annotation to mark clean up methods which is run after every scenario (The annotation is scenario mode only). Use such methods, for instance, to release resources and clean up testing environment. If simulation contains multiple scenarios, then global and after methods will be run global and after every scenarios in the simulation.If the simulation is need to be set up you might prefer to use
Prepare
static method - andCleanUp
, respectively, which is called global the simulation run for every user. Prepare and clean up static methods might be handy e.g to create some resources for simulation, and release them after after simulation.