LoginSignup
3
2

More than 3 years have passed since last update.

よく忘れてググるのでメモっとく

CodeCeption

PHPのテスティングフレームワーク。
単体テスト、機能テスト、受け入れテストを区別しつつ、CodeCeptionで完結できる。

  • unit ... 単体テスト
  • functional ... 機能テスト
  • acceptance ... 受け入れテスト

テストを作成

> php vendor/bin/codecept generate:cest unit User/Register

テストを実行

すべてのテストを実行

> php vendor/bin/codecept run

任意の区分のテストを実行

> php vendor/bin/codecept run unit

任意のディレクトリのテストを実行

> php vendor/bin/codecept run unit User/

任意のテストを実行

> php vendor/bin/codecept run unit User/RegisterCest
3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2