Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow groups of tests to run under separate runner queues #8

Open
batate opened this issue Mar 2, 2015 · 0 comments
Open

Allow groups of tests to run under separate runner queues #8

batate opened this issue Mar 2, 2015 · 0 comments

Comments

@batate
Copy link
Owner

batate commented Mar 2, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant