Table of Contents |
---|
...
Code Block | ||
---|---|---|
| ||
tl.add("instance-sources", "instance-sources-storage/instance-sources") |
The first argument - is name of the directory with ref-data files and the second - is URI for the API to execute.
7. Prepare API integration tests
Create an API integration class, usually it extends the TestBaseWithInventoryUtil class and verifies all success cases + some validation cases, etc. Also, do not forget to add the new class to StorageTestSuite suite class, otherwise the tests will not be executed on Jenkins.
...