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

Refactor the way to run tests #123

Merged
merged 1 commit into from Jan 26, 2017
Merged

Refactor the way to run tests #123

merged 1 commit into from Jan 26, 2017

Conversation

tkdchen
Copy link
Member

@tkdchen tkdchen commented Jan 26, 2017

Related to #113

With this patch, original way to run tests still works. Now, command
running tests within Makefile is simplified by moving options to
setup.cfg.

I'm planning to rescue the tests and fixtures should be created in
tests' setUp steps, hence customized django-nose test runner class is
dropped and just uses the default one.

Test coverage will always be generated. Environment variable TEST_COVER
is removed from Makefile.

Signed-off-by: Chenxiong Qi qcxhome@gmail.com

Related to #113

With this patch, original way to run tests still works. Now, command
running tests within Makefile is simplified by moving options to
setup.cfg.

I'm planning to rescue the tests and fixtures should be created in
tests' setUp steps, hence customized django-nose test runner class is
dropped and just uses the default one.

Test coverage will always be generated. Environment variable TEST_COVER
is removed from Makefile.

Signed-off-by: Chenxiong Qi <qcxhome@gmail.com>
@tkdchen
Copy link
Member Author

tkdchen commented Jan 26, 2017

@atodorov While I'm writing this patch, I found that unittest.json should be removed, meanwhile I also removed another unittest.json with same content.

@tkdchen tkdchen merged commit f50d825 into Nitrate:develop Jan 26, 2017
@tkdchen tkdchen deleted the simplify-the-way-to-run-tests branch January 26, 2017 21:58
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

Successfully merging this pull request may close these issues.

None yet

1 participant