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 tests using python3 setup.py test #406

Closed
PrajwalM2212 opened this issue Aug 25, 2019 · 3 comments
Closed

Run tests using python3 setup.py test #406

PrajwalM2212 opened this issue Aug 25, 2019 · 3 comments
Labels
tests Issues related to testing the code tools work on tools to understand and contribute to the project
Milestone

Comments

@PrajwalM2212
Copy link
Contributor

Problem Statement
The command python3 setup.py test is not running the tests.

Describe the Proposal
python3 setup.py test should be able to run all the tests.
Such functionality will help the developers to know if they are breaking anything with their new features.

Steps to Implement Proposal

  1. Reorganise import statements in the test files.
  2. Add a function in setup.py to load test_suite
@PrajwalM2212 PrajwalM2212 changed the title python3 setup.py test Run tests using python3 setup.py test Aug 25, 2019
@nishakm nishakm added tests Issues related to testing the code tools work on tools to understand and contribute to the project labels Aug 28, 2019
@nishakm nishakm added this to the Near Future milestone Aug 28, 2019
@nishakm
Copy link
Contributor

nishakm commented Nov 7, 2019

@PrajwalM2212 do you want to try incorporating this?

@PrajwalM2212
Copy link
Contributor Author

Yes, Give me a couple of days.

PrajwalM2212 added a commit to PrajwalM2212/tern that referenced this issue Feb 2, 2020
This PR makes it possible for the tests
to be discovered correctly by adding
a function get_test_suite in setup.py.

Closes tern-tools#406
Signed-off-by: PrajwalM2212 <prajwalmmath@gmail.com>
@nishakm
Copy link
Contributor

nishakm commented Mar 19, 2020

Closing as we can now run tests using tox.

@nishakm nishakm closed this as completed Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Issues related to testing the code tools work on tools to understand and contribute to the project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants