open-lms-open-source / moodle-plugin-ci

Assist with running a Moodle plugin in Travis CI
https://blackboard-open-source.github.io/moodle-plugin-ci/
GNU General Public License v3.0
43 stars 37 forks source link

Accept tags argument in behat command [Feature/Enhancement] #81

Open andyzito opened 5 years ago

andyzito commented 5 years ago

I think there's a use case to be able to specify Behat tags -- for example, you might have a custom tag that you use to exclude tests that should not be run in Travis.

Ideally, the tags specified in the Travis config would be concatenated with the plugin component tag.

For example, in .travis.yml under script: moodle-plugin-ci behat --tags=~@no-travis results in the command running with --tags=@[component]~@moodle-plugin-ci-ignore.

If the maintainer is open to this feature, I would be happy to work on a pull request.

polothy commented 5 years ago

Yes, I like this idea, open to a PR!