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

Test strategy? #84

Open
pmeier opened this issue Jun 14, 2022 · 0 comments
Open

Test strategy? #84

pmeier opened this issue Jun 14, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@pmeier
Copy link
Owner

pmeier commented Jun 14, 2022

Although we needed #60 to move forward, we also lost significant test coverage. Since we no longer have the ability to test the individual parts (due to pip's internal changes), we can only perform end to end tests now. This means we basically need to run ltt install with varying arguments and check if the installed packages are correct. Of course that would mean we will download a humongous amount of data for very little information.

One possibility would be to patch the download logic of pip by injecting fake wheels. Furthermore we would also need to patch the installation logic to stop as soon as the candidates to install are determined and check those.

My guess is that will be quite brittle, but TBH, this whole project is 😇 When I find the time, I'll start experimenting with the idea. If someone wants to help out, feel free to reach out. This is quite a deep rabbit hole.

@pmeier pmeier added the help wanted Extra attention is needed label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant