Yii 2 Functional Tests
Yii 2 Functional Tests

Functional Tests

Functional test verifies scenarios from a user's perspective. It is similar to acceptance test but instead of communicating via HTTP it is filling up environment such as POST and GET parameters and then executes application instance right from the code.



Functional tests are generally faster than acceptance tests and are providing detailed stack traces on failures. As a rule of thumb, they should be preferred unless you have a special web server setup or complex UI powered by JavaScript.

Functional testing is implemented with the help of Codeception framework which has a nice documentation about it:

Running basic and advanced template tests

If you've started with advanced template, please refer to "testing" guide for more details about running tests.

If you've started with basic template, check its README "testing" section.

Пет-проект как питомец: корми его минутами — он растёт вместе с тобой

Пишешь скрипты, настраиваешь серверы, ведёшь блог — но прогресс невидим. Пет-проект в WEB-[ло]мастерской требует регулярного внимания, как питомец: фиксируешь время и навыки — видишь, как растёт твоё мастерство в цифрах.

Подходит для обучения, экспериментов, side-проектов. Ставка часа обязательна даже для пет-проектов — это зеркало твоей самооценки. Данные на серверах в РФ, без спама и рассылок. Регистрация — меньше 2 минут.

Старт! MoonВase — A Hot Start on the Internet
Старт! MoonВase — A Hot Start on the Internet
Старт! Menu