From c97297b3fab4a1bea3d560c4f75807749279272f Mon Sep 17 00:00:00 2001 From: David Pesce <davidpesce@gmail.com> Date: Mon, 12 Jun 2017 10:47:34 -0400 Subject: [PATCH] added instructions on how to execute a single phpunit test --- docs/developers.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/developers.md b/docs/developers.md index 182d9ea..25e91e5 100644 --- a/docs/developers.md +++ b/docs/developers.md @@ -26,6 +26,12 @@ If you've read the [plugin design](design.md) you should understand what each of - [Moodle to xAPI Translator](https://github.com/LearningLocker/Moodle-xAPI-Translator/blob/master/docs/readme.md#adding-events) - [xAPI Recipe Emitter](https://github.com/LearningLocker/xAPI-Recipe-Emitter/blob/master/docs/readme.md#adding-events) +##PHPUnit Test Filter +All PHPUnit tests should pass, but if you'd like to only run the tests for specific events, add the 'filter' option. +``` +vendor/bin/phpunit --filter <Test_Name> +``` + ## Release Process This process has been documented for collaborators (users that have write access to the repository) who are releasing new versions of this plugin. -- GitLab