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

Need instructions on how to run tests #37

Open
gward opened this issue Feb 8, 2019 · 1 comment
Open

Need instructions on how to run tests #37

gward opened this issue Feb 8, 2019 · 1 comment

Comments

@gward
Copy link

gward commented Feb 8, 2019

It's unclear how to run the tests in this project. There is a small blurb in README.md, but I have never used tox so I don't know what I need to do. It's also unclear what "virsh access" means -- does that mean the tests use libvirt/virsh/KVM/etc. to run in a virtualized environment? If so, what versions of Linux are supported? Are any other operating systems supported?

It would be much more helpful if the README file specified:

  • what operating system(s) are supported for running the tests
  • what additional OS packages must be installed to run the tests
  • what versions of Python are supported and/or required
  • the exact shell command(s) I must run to run the tests

For the record, here are the things I tried:

  1. Create a virtualenv, "pip install -r requirements.txt", "pip install tox", then run tox. This failed in a variety of ways. (I'll open separate issues for them.)
  2. "python setup.py test". This did a bunch of stuff and finished with "Ran 0 tests in 0.000s". Not the expected outcome!
@gward
Copy link
Author

gward commented Feb 8, 2019

Also, HACKING.md tells me to run tests in what appears to be a virtualenv, .tox/py27. But it does not tell me how to create that virtualenv (or whatever it is).

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

1 participant