Lifecycle hooks #263
-
It would be great if there was support in the Is it possible to support lifecycle hooks for setup and teardown such as |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Another suggestion: generate tests with a specific base class, using the |
Beta Was this translation helpful? Give feedback.
-
@kerrykimbrough that definitely could work. i am probably just overlooking it somewhere but could you please link me to documentation about providing a base class for |
Beta Was this translation helpful? Give feedback.
-
An example is shown here. Among several other options, this illustrates the use and effect of |
Beta Was this translation helpful? Give feedback.
-
@emtilmont If you're happy with my suggestion, please mark this discussion as "Answered" |
Beta Was this translation helpful? Give feedback.
Another suggestion: generate tests with a specific base class, using the
-b
option (or if using Maven,-DbaseClass
). Then define your@Before
and@After
methods in the base class.