Skip to content

Coverage Not Visible with Fork #101

@jaredoconnell

Description

@jaredoconnell

Describe the bug

The coverage in the ATP server is not visible. This is due to the coverage library not properly following the code into the fork. There is coverage there, but the coverage should be visible to help ensure that future changes do not cause any regressions in code coverage.

One solution may be to switch from fork to multiprocessing.

Matt came up with this for multiprocessing:

coverage run --concurrency=multiprocessing,thread -m unittest test_example_plugin.py src/arcaflow_plugin_sdk/test_* && coverage combine && coverage report

.coveragerc

[run]
concurrency=multiprocessing,thread

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions