Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid phpdocs tag @BeforeScenario and @AfterScenario used #121

Open
laurentdavid opened this issue Sep 4, 2023 · 1 comment
Open

Invalid phpdocs tag @BeforeScenario and @AfterScenario used #121

laurentdavid opened this issue Sep 4, 2023 · 1 comment

Comments

@laurentdavid
Copy link

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) ?

@stronk7
Copy link
Member

stronk7 commented Sep 8, 2023

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 :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants