buildkite / test-engine-client

Buildkite Test Engine Client (bktec) is an open source tool to orchestrate your test suites. It uses your Buildkite Test Engine suite data to intelligently partition and parallelise your tests.
MIT License
9 stars 1 forks source link

Send test runner to create test plan endpoint #215

Closed nprizal closed 1 week ago

nprizal commented 2 weeks ago

Description

The test runner is missing from the request params for the create test plan endpoint that triggers the server to falls back to the default test runner rspec, which caused an issue when splitting test for other test runners, such as jest.

I have removed the Runner enum from api package, as I feel like it is a bit redundant where we already validate the test runner in the runner.DetectRunner function. Removing this enum keeps the source simple and clean.