Best practice for precondition

Vittorio Cortosi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 10, 2024

Hello!

Maybe these are dumb questions but i always struggle with this:

1) If i have 10 tests with the same precondition (login for example), is it better to create a precondition with login steps or recalling a test with the login steps? Or both?

image.png

2) I have to run a test but, before running it, i have to login and setup the environment. In the test, should i insert 2 preconditions? one for login and one for environment setup, or just one precondition named "environment setup" with login steps and setup steps all in one precondition?


Thank you in advice for the answers!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events