Answer the question
In order to leave comments, you need to log in
Symfony, who has a good practice of writing unit tests on codeception?
Please help with codeception for symfony (version 3 and above).
I would be very grateful for links to good materials on the topic of writing unit tests or your own experience.
The practice is especially interesting, for example, how to work with dependencies (services) in the class under test from the test. Why you can / need to make stubs, and what you can access.
The issues of emulating an active user session are also very interesting.
Any experience, links to materials and code are interesting! Share plz!
Answer the question
In order to leave comments, you need to log in
Symfonycasts: testing with a bite is a great introductory course, written for phpunit, but codeception is written on top of phpunit and is easy to adapt. The project is there for SF 3.3.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question