Answer the question
In order to leave comments, you need to log in
What is the best way to write a codeception test?
I write functional tests for registration and authorization. Everything is clear with registration, but about authorization, the question arose: would it be correct to use the registration test in the authorization test (so as not to duplicate the code)? Is it customary to connect tests with each other in a similar way, or is it more correct to separately add a user to the database in the authorization test (without the participation of the registration test)?
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