Skip to main content Skip to complementary content

Running your scenarios on CircleCI

Configure CircleCI to run your tests.

Before you begin

  • You have a GitHub account.
  • You know how to launch Talend Cloud API Tester from the CLI.
  • You have installed the Talend Cloud API Tester Maven plugin.

Procedure

  1. Push your scenario to a GitHub repository.

    Make sure to push the two test files:

    • The JSON file containing your scenario
    • The pom.xml configuration file
    The files to push, here it's data_validation.json and pom.xml.
    Information noteNote: Talend Cloud API Tester has a GitHub integration to help you push your test files to GitHub.
  2. In the CircleCI console, go to the Projects tab.
  3. Select the GitHub user or organization that the project belongs to and click Build project.
    A GitHub user is selected and the "build project" button is displayed.

    You do not need to add anything if you want to use the defaults in CircleCI. The platform detects the type of project and executes tests if there are any.

  4. To provide a specific CircleCI configuration into your project, add a circle.yml file at the root of your repository.

    Example

    Here you can define the JVM you want to use and the command to execute in order to run your tests.

    machine:
      java:
        version: openjdk8
    test:
      override:
        - mvn 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!