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

Allow pytest-services to be pip installed via PyPI #113

Closed
JohnVonNeumann opened this issue May 9, 2018 · 2 comments
Closed

Allow pytest-services to be pip installed via PyPI #113

JohnVonNeumann opened this issue May 9, 2018 · 2 comments

Comments

@JohnVonNeumann
Copy link

I would assume there to be obvious benefits in this, if entirely possible I wouldn't mind being able to just install this the way I'd install my other packages, without really caring about your dependencies.

@hwine
Copy link
Contributor

hwine commented May 15, 2018

I'm not sure how this would work. The entire repo is required - there aren't any executables or libraries to include elsewhere. It is not a Python package or module at present.

Can you describe the usage scenario you envision? I.e. what are you doing after the pip install?

@g-k
Copy link
Contributor

g-k commented May 21, 2018

Hey @JohnVonNeumann, thanks for checking this out!

For now, the easiest way to run these would be to clone the repo, add a config, and run the tests you're interested in.

We originally planned to refactor this into pytest plugins (#3 and #4) and still might do that, but as Hal pointed out we decided to open source it as a bunch pytests for now.

The plugin based workflow would might look like:

  1. have a pytest unit tests for you python application
  2. add relevant pytest-services plugins as pip-installeable packages for your cloud provider, OS, monitoring services, etc.
  3. test them in CI or AWS config

Is that the kind of scenario you had in mind?

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

3 participants