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

tests: speed up integration tests coverage #1084

Merged
merged 1 commit into from
Sep 23, 2016

Commits on Sep 23, 2016

  1. tests: speed up integration tests coverage

    Previously, .simplecov called `SimpleCov.result` to store the coverage
    result, and ignored the return value. `SimpleCov.result`'s return can be
    slow to calculate, which wastes a lot of time when it's ignored.
    
    This commit extracts the code needed to store the SimpleCov result from
    `SimpleCov.result`, and calls it directly, without doing the busywork to
    compute the return value every time.
    
    In my testing, this more than halves the time taken to run all the
    integration tests.
    alyssais committed Sep 23, 2016
    Configuration menu
    Copy the full SHA
    5f6a8d4 View commit details
    Browse the repository at this point in the history