J
J
jacksparrow2015-11-26 00:16:15
Yii
jacksparrow, 2015-11-26 00:16:15

In Yii2, use codeception or phpunit to write tests?

I decided to cover one of my Yii2 projects with unit tests, read the documentation, tried the built-in tests. They seemed too cumbersome and redundant for my tasks. I have experience working with phpynit tests, which are enough to complete the tasks. How reasonable is it to use built-in tests, or install phpunit, with which you have experience, by cutting out Codeception.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-11-26
Protko @Fesor

codeception for integration tests, phpunit for any functional tests.
Use whatever is comfortable for you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question