Skip to main content

Defining your pipeline

Define how your tests will be run.

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 API test project and the service implementation go through the source control which then launch the CI Pipeline composed of unit tests, package, deployment on a staging environment and API tests with Maven. Finally, reports are created.

Schema of a pipeline.

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!