Skip to content

Add something like Collector to the public API #603

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

Open
nedbat opened this issue Sep 15, 2017 · 1 comment
Open

Add something like Collector to the public API #603

nedbat opened this issue Sep 15, 2017 · 1 comment
Labels
api Changes to the public API enhancement New feature or request

Comments

@nedbat
Copy link
Owner

nedbat commented Sep 15, 2017

Originally reported by David MacIver (Bitbucket: david_maciver_, GitHub: Unknown)


As part of Hypothesis's new coverage guided test generation, I want to be able to run the coverage collector infrastructure without worrying about saving to the file system, etc.

I am currently using a number of APIs that are clearly internal and would prefer not to be.

I don't know that the right thing to do would be to just declare the Collector API public - it has a lot of little details that made it a bit awkward to use here (e.g. file disposition types), but perhaps it would be possible to write a small user friendly wrapper around it and make that part of the public API?

I'd be happy to try to put together a pull request for this if you're amenable.


@nedbat
Copy link
Owner Author

nedbat commented Jan 15, 2020

@DRMacIver I'm not sure Hypopthesis still needs these changes. I've opened a related issue: #921

@nedbat nedbat added api Changes to the public API and removed major labels Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Changes to the public API enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant