-
Notifications
You must be signed in to change notification settings - Fork 58
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: refactor monolithic test_smoke
into multiple tests
#49
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than my one nitpick this looks like an excellent improvement. Not sure what's up with the testing farm tests failing though.
99530ea
to
2c29c3a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
The existing test_smoke was becoming a bit too big and especially the fact that part have to be skipped depending on the environment is really not nice. This commit refactors it to be more module. For this it uses the pytest session scope to ensure that the build container and the test image are only build once and then shared accross the various individual tests.
This includes now #50 which apparently was required to make the RHTAP build work (it was failing before without this). |
The existing test_smoke was becoming a bit too big and especially the fact that part have to be skipped depending on the environment is really not nice.
This commit refactors it to be more module. For this it uses the pytest session scope to ensure that the build container and the test image are only build once and then shared accross the various individual tests.