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

Add coverage task #1422

Closed

Commits on Oct 28, 2016

  1. Add simplecov for generating coverage reports

    This adds the simplecov gem to vendors and a corresponding rake task to generate a coverage report.
    To generate the report, assuming we're in the app/server/sonicpi directory, we just need to type 'rake coverage', and the html report output is generated into app/server/sonicpi/coverage.
    ethancrawford committed Oct 28, 2016
    Configuration menu
    Copy the full SHA
    f59929d View commit details
    Browse the repository at this point in the history
  2. Stop tests/coverage from being run twice

    The tests were being run twice previously. The first time they run normally, but the second time the test framework appears to run again with zero tests. This wasn't really a huge problem when running just the tests, but prevented coverage from being generated as the second zero tests run would overwrite the coverage output.
    This change prevents this.
    ethancrawford committed Oct 28, 2016
    Configuration menu
    Copy the full SHA
    948d9dd View commit details
    Browse the repository at this point in the history