You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: