My application has several jobs which runs 4-6 times a day and changes the system state and many configurations. Now I want to write automation test cases which will verify this state transitions and configuration changes accordingly.
I have think two approaches-
- write some test cases and on particular verification steps I can add some precondition that this test steps should wait until 11am for example.
- Second is that I will use jenkins etc. and schedule my test cases for a particular time. In this approach I guess I will have to divide the test case to the smaller test case so that I can schedule one part to run in morning and other in noon.
I am just willing to follow the best approach, these two came in my mind. Please suggest if there are some better approaches available.