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

Shuffle things around in preparation for Jest runner. #155

Closed wooly closed 3 months ago

wooly commented 3 months ago

Description

This PR moves the TestRunner interface to the detector and updates the return type of the DetectRunner to the interface instead of a pointer to the Rspec struct. This will hopefully allow me to add the Jest runner (which will also implement the TestRunner interface more easily.

I'm wondering if there's a more ergonomic way of doing this? Also wondering if there's a neater way to handle the aforementioned Rspec struct since I'll need a Jest one that's exactly the same.

Any pointers appreciated!

wooly commented 3 months ago

Superseded by #166