The most important part of your build is defining how your tests will be run. The main idea is to follow the workflow shown below.
The idea is to pull your API code and your Talend Cloud API Tester test file from source control then use them to fully test the API. The tests consist in:
- Unit-testing your code.
- Packaging your API.
- Deploying your API.
- Running your API.
In this pipeline example, the unit-testing and packaging will be done in stage Build, the deployment in stage Deploy and the API tests in stage Test.