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

Incompatible with pytest-cov #4

Open
jayvdb opened this issue Jun 20, 2018 · 2 comments
Open

Incompatible with pytest-cov #4

jayvdb opened this issue Jun 20, 2018 · 2 comments

Comments

@jayvdb
Copy link
Contributor

jayvdb commented Jun 20, 2018

As this plugin and coverage use sys.settrace, they are incompatible.

It would be lovely if there was a way to share the coverage data. Perhaps pytest-cov exposes it in a way that this plugin could use it?

@jayvdb
Copy link
Contributor Author

jayvdb commented Jun 20, 2018

@kstrauser
Copy link
Owner

I think that's going to be tricky, if not impossible. The main problem is that tracer is very minimal with what it traces, but very fast - much faster than coverage. Its call graph is also drastically simpler and optimized for quick lookups for the kind of stuff fastest needs.

Note that I'm 100% behind the idea of using coverage's data, but realistically I doubt if I'll be the one who implements it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants