Learn, todo and done 29/6-3/7/20

Learn Codeception in PhpStorm Functional test Unit test Todo Done PR Issue #460, functional test for admin site access. Issue #448 Problem Install codeception to PhpStorm is difficult, a lot of env param is invloved. Reference

June 29, 2020 · 1 min · 36 words · Ken Cho

Codeception

What is Codeception? Codeception is a framework written in PHP for testing application and its multi-featured test framework powered by famous PHPUnit Framework. It can manage Unit, Functional and Acceptance for web application. How to create a Unit Test? Testing pieces of code before coupling them together. It creates a new ExampleTest file located in the tests/unit directory. php vendor/bin/codecept generate:test unit Example Run the newly created test with this command. php vendor/bin/codecept run unit ExampleTest ...

June 23, 2020 · 1 min · 213 words · Ken Cho