Skip to main content

Spor-based filter for Cosmic Ray mutation testing

Project description

Spor-based filter for Cosmic Ray mutation testing.

The filter scans a Cosmic Ray session, looking for spor anchors attached to files in the session. If it finds an anchor with the metadata {mutate: False}, then that mutation is marked as “skipped”.

Example

Assume you’ve got a directory structure like this:

project_root/
    .spor/
       ...anchors...
    cr-session.sqlite
    src/
       ...project source...

If you run this command:

cosmic-ray-spor-filter cr-session.sqlite

will look at each job scheduled in cr-session.sqlite. If the file referenced in job has an anchor in the .spor directory and if that anchor has {mutate: False} in its metadata, then that job will be skipped.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cosmic-ray-spor-filter, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size cosmic_ray_spor_filter-1.0.0-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cosmic-ray-spor-filter-1.0.0.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page