Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.52 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.52 KB

Demo project for Codeception


This is demo project for examples of unit testing with Codeception full-stack framework and Yii2.

Install Codeception into project

$ composer require --dev "codeception/codeception"

Codeception commands

$ ./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

Useful links

Presentation

http://slides.com/greeflas/codeception

Licence

This project is released under the terms of the BSD-3-Clause license.

Copyright (c) 2017, Vintage Web Production