Skip to content

Provide an HTTP endpoint for triggering a test suite #396

@LinuxSuRen

Description

@LinuxSuRen

Description:

Now, users can trigger a test suite via the following command:
atest run -p http://localhost:9090/server.Runner/ConvertTestSuite?suite=api-testing

but, they still need download atest first. If we have a simple HTTP endpoint which have the same feature, it will be much handful.

Why

In CI/CD situation, users could trigger the api testing via a simple URL. Users could use Jenkins or Argo workflows, even this endpoint could support the webhook request from GitHub/Gitlab.

If the request from a GitHub/Gitlab webhook, we could even create a status against the target PR or commits.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions