question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How would this feature be useful? Packaging for distros requires running the tests in a VM isolated from the internet to avoid any pollution. Offline tests are needed for this.

However, the test suite can also be quicker if it uses a fake PyPI server that only contains the packages needed for testing.

Describe the solution you’d like pipenv project tests uses its own, as a fixture in the repo.

There are some other earlier standalone attempts

https://github.com/uranusjr/pytest-pypi-gateway

https://github.com/uranusjr/pytest-fakepi

https://pypi.org/project/pytest-pypi/

https://github.com/manahl/pytest-plugins has a devpi pytest plugin for https://github.com/devpi/devpi

Describe alternatives you’ve considered An old style PyPI HTML simple index page.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
gaborbernatcommented, Oct 21, 2019

@jayvdb I’ve done some of this, the easiest is to just setup a devpi instance part of the pytest, as fixture; see https://github.com/tox-dev/integration-test/blob/master/tests/conftest.py#L73-L118

0reactions
gaborbernatcommented, Oct 28, 2019

I’m saying to provision the wheels at the first run for the machine if not present already. The other option is to bundle the wheels with the code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Offline Test - Glossary | CSRC
Offline tests use previously captured images as inputs to core biometric implementations. Such tests are repeatable and can readily be scaled to very...
Read more >
What is online testing and offline testing? - Quora
In offline testing, the testing is performed by an individual person which means one person has performed the testing at a time whereas...
Read more >
Are Offline Exams Still Worth it in 2021? - Assessment Systems
Offline exams have been an important part of education for a long time. But, are offline exams still worth it in 2021? Let's...
Read more >
Offline Test Solutions | Teradyne
TestStation's offline test systems are designed for a human operator or collaborative robot for product handling. TestStation systems scale to support from ...
Read more >
Running manual tests in off-line mode - IBM
Note: To run multiple manual test scripts off-line, select up to 50 test case execution records at a time and then click Run...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found