Each of my Junit test cases will have multiple scenarios and an ETL process(takes 20 min) has to be run for verification between each scenario. Suppose i have a class with 4 Junit tests in the format:
- First test - one scenario
- Second Test - two scenarios
- Third Test - three scenarios
- Fourth Test - four scenarios
Is it possible to run the first scenario alone on all the test methods, hold the session somewhere then returning back to the class to run the second scenarios if available and so on. I would just like to know if this is possible using Junit. I searched in few places and i didn't find any luck.