I have 4 rest api for crud operations. So when I write junit for those resting api,
1. Do I have to write one test case that performs the entire crud operation, or should it be different test cases for each other api?
2. If I write a separate test case, is it possible to use the record created in the case of creating a test in the update or to get test cases. In this case, there is a relationship between each test case.
3. How can I get Junit to run test cases in execution order, given that my test method is not in alphabetical order.
source share