「受け入れテスト」の版間の差分
提供:MoodleDocs
Mitsuhiro Yoshida (トーク | 投稿記録) (ページの作成:「作成中です - ~~~ Moodle uses a framework called Behat to automatically test the user-interface. Tests can be written for each plugin, and for Moodle core. * To run…」) |
Mitsuhiro Yoshida (トーク | 投稿記録) 編集の要約なし |
||
2行目: | 2行目: | ||
Moodle uses a framework called Behat to automatically test the user-interface. Tests can be written for each plugin, and for Moodle core. | Moodle uses a framework called Behat to automatically test the user-interface. Tests can be written for each plugin, and for Moodle core. | ||
Moodleは自動的にユーザインタフェースをテストするため、Behatと呼ばれるフレームワークを使用します。テストは各プラグインおよびMoodleコアのために書けます。 | |||
* To run the existing tests, read [[Running acceptance test]]. You really need to do this first. | * To run the existing tests, read [[Running acceptance test]]. You really need to do this first. |
2022年2月19日 (土) 15:01時点における版
作成中です - Mitsuhiro Yoshida (トーク)
Moodle uses a framework called Behat to automatically test the user-interface. Tests can be written for each plugin, and for Moodle core. Moodleは自動的にユーザインタフェースをテストするため、Behatと呼ばれるフレームワークを使用します。テストは各プラグインおよびMoodleコアのために書けます。
- To run the existing tests, read Running acceptance test. You really need to do this first.
- To write new tests, read Writing acceptance tests.
- To define new steps that can you used when writing tests, see Writing new acceptance test step definitions
Because Behat tests work through the Moodle user interface, they are a bit slow. Therefore, you should probably also use PHPUnit to test the detailed edge cases in your code.