laravel - How I can ignore feature in behat? -
i using behat laravel. have features want ignore in tests. have inside features folder:
- a.feature
- b.feature
- c.feature
i want exclude feature c testing. @ moment if want exclude feature c tests have rename - example "c.feature.tmp".
there more intelligent way ... in java or .net have @ignore annotation.
you can give features don't want test tag @notesting , run behat this.
behat --tags '~@notesting'
the ~ sign not operator.
or @grzegorz-zadja mentioned can use test suites.
in feature file right above feature: can put tags. add @notesting there. see documentation.
Comments
Post a Comment