-
Notifications
You must be signed in to change notification settings - Fork 12
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
add pretest #396
add pretest #396
Conversation
do.py
Outdated
@@ -36,6 +36,15 @@ def lint(): | |||
|
|||
|
|||
def test(): | |||
pretest_args = [ |
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.
we shouldn't write another test and run them separately.
the goal is to run some code automatically before starting all tests. This can be done using pytest fixtures.
config.ports.port(name="port%d" % i, location=utils.settings.ports[i])[ | ||
-1 | ||
] | ||
|
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.
Have we tested that this works if we cancel pipeline while the test is running and then restart pipeline ?
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.
Use pytest fixtures instead of a separate pytest script to do cleanup before running tests.
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.
Use pytest fixtures instead of a separate pytest script to do cleanup before running tests.
Closing as #399 already fixes the underlying issue. |
@alakendu & @Rangababu-R : Please suggest any pointer discussed during the meeting |
add pretest