Skip to content

Optionally skip creating adding at_exit hook #209

@ileitch

Description

@ileitch

Hey,

I'm working on a gem to use Coverage in production environments. I noticed that SimpleCov always creates and at_exit hook. In my gem coverage will be handled on a per-request basis. For Rails coverage will be started & stopped in an around_filter.

What do you think would be a nice API for using SimpleCov without the at_exit behavior?

One possibility is a file simplecov/no_defaults.rb or similar that simply does not require defaults.rb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions