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

Run mamba tests with python setup.py test? #135

Open
MatthewRalston opened this issue Jun 22, 2019 · 0 comments
Open

Run mamba tests with python setup.py test? #135

MatthewRalston opened this issue Jun 22, 2019 · 0 comments

Comments

@MatthewRalston
Copy link

MatthewRalston commented Jun 22, 2019

Hi everyone,
Love this package, thank you...

Uh I had a quick question about how to run mamba tests with python setup.py test. This could be a simpler question about setup.py more than anything else, but maybe other users could find this useful in the issues, so here goes.

I've been referencing the following Stackoverflow post, which suggests that developers use the following to let setup.py automatically run the test suite during setup. It's using unittest to automatically discover tests, and it seems heavily married to that framework.

setup.py

...
test_suite='tests',
...

Other unit testing frameworks provide suggestions, like pytest, which suggests using a setup.cfg to alias the test runner.

I tried looking at the mamba setup.py to see if you're using your own framework to test your framework. I'm guessing there's a right way to do this, and you're in a better position to provide a recommendation here.

EDIT1: typo

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