We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
python --version
pip show test_junkie
from test_junkie.decorators import Suite, test, beforeClass from tests.junkie_suites.TestListener import TestListener @Suite(retry=2, listener=TestListener, priority=2, feature="Store", owner="Mike", parameters=[1, 2]) class NewProductsSuite: ATT = 1 @beforeClass() def before_class1(self): if NewProductsSuite.ATT == 2: raise Exception("Derp") NewProductsSuite.ATT += 1 @test(component="Admin", tags=["store_management"], parameters=[10, 20], parallelized_parameters=True) def edit_product(self, parameter, suite_parameter): print("edit_product") @test(component="Admin", tags=["store_management"]) def archive_product(self): print("archive_product") if "__main__" == __name__: from test_junkie.runner import Runner runner = Runner([NewProductsSuite]) runner.run(test_multithreading_limit=4)
archive_product should not be marked failed after it has passed initially.
archive_product
archive_product gets two metric updates, one is marked success and the other is marked as error due to exception in before class.
If attaching logs, make sure to remove any personal information, credentials, tokens, keys - anything that you don't want to become public.
The text was updated successfully, but these errors were encountered:
a810c79
ArturSpirin
No branches or pull requests
python --version
>> 2.7 & 3.5+pip show test_junkie
>> 0.7a4 and priorExpected behavior
archive_product
should not be marked failed after it has passed initially.Actual behavior
archive_product
gets two metric updates, one is marked success and the other is marked as error due to exception in before class.If attaching logs, make sure to remove any personal information, credentials, tokens, keys - anything that you don't
want to become public.
The text was updated successfully, but these errors were encountered: