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

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -