I am attempting to create common tests in the API suite so that I can reuse said tests in multiple scenarios. I would like to keep all tests within the same project therefore I am looking to "copy/paste" a centralized test so that I only need to make changes/updates to a single location instead of each individual test.
For example, I want to create a single "Authentication" step and reuse it for all API testing. Be able to update just the one location for the test and it be reflected for each location that the "Authentication" step is located. Currently it does not allow me to place a test within another test. Am I going about this in the wrong way?
Hope this makes sense and hope to get some clarity.
For example, I want to create a single "Authentication" step and reuse it for all API testing. Be able to update just the one location for the test and it be reflected for each location that the "Authentication" step is located. Currently it does not allow me to place a test within another test. Am I going about this in the wrong way?
Hope this makes sense and hope to get some clarity.