Running a specified action/test after a test case
I would like to know if there is a way to do an action after a test case is done.
Here's my scenario: I would like to create a lot of tests for HTTP POST, which updates records. After a test case is done, I would like to revert back the values of my record using another API call, and use it for another test, or use it for the same test.
I believe I can create a Test Suite, and create 2 test cases there, one is the actual test, and another to revert, but if I have like 50 test cases, then I'll need 50 test suites?