This is demo project for examples of unit testing with Codeception full-stack framework and Yii2.
$ composer require --dev "codeception/codeception"
$ ./vendor/bin/codecept bootstrap
- creates files for tests
$ ./vendor/bin/codecept generate:test unit DemoTest
- generates unit test-case with name DemoTest
$ ./vendor/bin/codecept build
- generates files for tests running
$ ./vendor/bin/codecept run unit
- run unit tests
$ ./vendor/bin/codecept run unit DemoTest
- run test by name
http://slides.com/greeflas/codeception
This project is released under the terms of the BSD-3-Clause license.
Copyright (c) 2017, Vintage Web Production