受け入れテスト

提供:MoodleDocs
2022年2月21日 (月) 15:04時点におけるMitsuhiro Yoshida (トーク | 投稿記録)による版
移動先:案内検索

作成中です - Mitsuhiro Yoshida (トーク)

Moodleは自動的にユーザインタフェースをテストするため、Behatと呼ばれるフレームワークを使用します。テストは各プラグインおよびMoodleコアのために書けます。

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. BehatでのテストはMoodleのユーザインターフェイスを通して動作するため、少し時間を要します。したがって、あなたのコードの細かい限界点をテストするために、おそらくPHPUnitも使用すべきでしょう。