shouldi icon indicating copy to clipboard operation
shouldi copied to clipboard

Allow groups of tests to run under separate runner queues

Open batate opened this issue 9 years ago • 0 comments

We would like to be able to spin up a separate group. This approach will allow us to sparingly mock without losing associated concurrency for the rest of the tests.

For example, a user is building an API that needs a Twitter result set. Instead of retrieving the tweets within the test, a shouldi context marks the test family, indicating that those tests must be run in a separate test group:

with "mocked tweets" do
  @test_group "TwitterMock"
  setup...
  should...
end

This test will be spun up and run in a separate group outside of the default tests. This approach will allow groupings for any types of tests requiring compilation.

batate avatar Mar 02 '15 14:03 batate