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

test suite needs optimising #146

Closed
aspiers opened this issue Apr 12, 2017 · 0 comments · Fixed by #161
Closed

test suite needs optimising #146

aspiers opened this issue Apr 12, 2017 · 0 comments · Fixed by #161

Comments

@aspiers
Copy link
Member

aspiers commented Apr 12, 2017

It's currently too hard to get quick feedback from the test suite, as there are too many tests taking too long. We should do some performance profiling on the tests and tackle the bottlenecks.

M0ses added a commit to M0ses/obs-service-tar_scm that referenced this issue May 30, 2017
Without this patch you have to edit the tests/test.py and comment out
tests you dont want to run in an array called testclasses.

This patch gives you the possibilty to run only selected testclasses
by specifing an environment variable with a comma separated list of
testclasses to run, e.g.

TAR_SCM_TC=UnitTestCases,TasksTestCases PYTHONPATH=. tests/test.py

This is only the first step in direction to fix openSUSE#146 and openSUSE#147
M0ses added a commit to M0ses/obs-service-tar_scm that referenced this issue May 30, 2017
Without this patch you have to edit the tests/test.py and comment out
tests you dont want to run in an array called testclasses.

This patch gives you the possibilty to run only selected testclasses
by specifing an environment variable with a comma separated list of
testclasses to run, e.g.

TAR_SCM_TC=UnitTestCases,TasksTestCases PYTHONPATH=. tests/test.py

This is only the first step in direction to fix openSUSE#146 and openSUSE#147
M0ses added a commit to M0ses/obs-service-tar_scm that referenced this issue May 30, 2017
Without this patch you have to edit the tests/test.py and comment out
tests you dont want to run in an array called testclasses.

This patch gives you the possibilty to run only selected testclasses
by specifing an environment variable with a comma separated list of
testclasses to run, e.g.

TAR_SCM_TC=UnitTestCases,TasksTestCases PYTHONPATH=. tests/test.py

This is only the first step in direction to fix openSUSE#146 and openSUSE#147
M0ses added a commit to M0ses/obs-service-tar_scm that referenced this issue May 31, 2017
Without this patch you have to edit the tests/test.py and comment out
tests you dont want to run in an array called testclasses.

This patch gives you the possibilty to run only selected testclasses
by specifing an environment variable with a comma separated list of
testclasses to run, e.g.

TAR_SCM_TC=UnitTestCases,TasksTestCases PYTHONPATH=. tests/test.py

This is only the first step in direction to fix openSUSE#146 and openSUSE#147
M0ses added a commit to M0ses/obs-service-tar_scm that referenced this issue May 31, 2017
Without this patch you have to edit the tests/test.py and comment out
tests you dont want to run in an array called testclasses.

This patch gives you the possibilty to run only selected testclasses
by specifing an environment variable with a comma separated list of
testclasses to run, e.g.

TAR_SCM_TC=UnitTestCases,TasksTestCases PYTHONPATH=. tests/test.py

This is only the first step in direction to fix openSUSE#146 and openSUSE#147
M0ses added a commit to M0ses/obs-service-tar_scm that referenced this issue Jun 8, 2017
Without this patch you have to edit the tests/test.py and comment out
tests you dont want to run in an array called testclasses.

This patch gives you the possibilty to run only selected testclasses
by specifing an environment variable with a comma separated list of
testclasses to run, e.g.

TAR_SCM_TC=UnitTestCases,TasksTestCases PYTHONPATH=. tests/test.py

This is only the first step in direction to fix openSUSE#146 and openSUSE#147
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant