Answer the question
In order to leave comments, you need to log in
Joint test for related actions. Is it right?
I am writing system tests for a web application on nodejs, the application is tested as a black box over http.
Wrote already for all actions of authentication. Now I'm finishing actions with a user profile. Came to removal.
So in the first test (registration), the last case checks the user's registration when sending the correct data. After the test, to clean up after yourself, the delete profile action is performed.
Now, as a matter of fact, I came to the need to test the removal. But first, it turns out that I need to register a user in order to test his removal.
It would be very convenient to make these two actions in one test different cases, so that in one case you don’t clean up after yourself after registration, and in the second you don’t prepare a profile for deletion before the test.
Or should you not bother and do, as expected, two separate tests?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question