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 subprocess handling to simplecov #881

Merged
merged 5 commits into from Mar 7, 2020

Commits on Mar 3, 2020

  1. Add subprocess handling to simplecov

    Using Process.fork (whether using the Parallel gem or directly)
    creates code that was invisible to SimpleCov. by starting SimpleCov
    within the subprocess with its own command name and etc we can
    see that code :)
    
    This also adds documentation for what to do when using Process.spawn or
    similar.
    
    fixes: simplecov-ruby#414
    robotdana committed Mar 3, 2020
    Copy the full SHA
    628978c View commit details
    Browse the repository at this point in the history
  2. Subprocesses is off by default

    Can be enabled with enable_for_subprocesses
    Also moved the testing to a feature test
    robotdana committed Mar 3, 2020
    Copy the full SHA
    33084cc View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2020

  1. Copy the full SHA
    c6a65c6 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d59fd44 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2020

  1. Remove unnecessary =

    Also Gem::Version.new comparisons please.
    Also don't run this test on jruby, Process.fork is NotImplementedError
    robotdana committed Mar 6, 2020
    Copy the full SHA
    fa0f73d View commit details
    Browse the repository at this point in the history