moodle-local_moodlecheck
moodle-local_moodlecheck copied to clipboard
Invalid phpdocs tag @BeforeScenario and @AfterScenario used
I have the following Behat step that are using the @BeforeScenario and @AfterScenario tags in this file: https://github.com/moodle/moodle/blob/master/mod/bigbluebuttonbn/tests/behat/behat_mod_bigbluebuttonbn.php
Those two tags are necessary to add new callback to behat before and after the scenario is run. They are rarely used but they are really useful in some case. Possible to disable the warning from Moodle code check (phpdoc) ?
Good one, @laurentdavid,
we'll try to add those tags as accepted, makes sense.
In the mean time, if you feel yourself interested... you can quick look for 'Given'
(single quotes included) and it will show you how a new tag can be added for behat (3 occurrences).
Ciao :-)