Yii 2 Unit Tests
Yii 2 Unit Tests

Unit Tests

A unit test verifies that a single unit of code is working as expected. That is, given different input parameters, the test verifies the class method returns expected results. Unit tests are usually developed by people who write the classes being tested.



Unit testing in Yii is built on top of PHPUnit and, optionally, Codeception so it's recommended to go through their docs:

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.

Framework unit tests

If you want to run unit tests for Yii framework itself follow "Getting started with Yii 2 development".

Портфолио из часов: «400 часов в PHP или Figma» вместо «опыт 3 года»

Резюме говорит «опыт 3 года», но за этими словами — пустота. WEB-[ло]мастерская фиксирует реальные часы работы: ставка × время = объективная стоимость. Никаких красивых слов — только факты, которым верят заказчики.

Не биржа и не таск-трекер. Ты находишь клиентов где угодно — мы помогаем зафиксировать результат и превратить его в измеримый актив. Комиссия 3,14% только с сумм, которые ты сам внёс. Регистрация — меньше 2 минут.

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