friendsofbehat / excludespecificationsextension Goto Github PK
View Code? Open in Web Editor NEW[WIP] :water_buffalo: Allows to skip specific features or scenarios while executing Behat tests.
License: MIT License
[WIP] :water_buffalo: Allows to skip specific features or scenarios while executing Behat tests.
License: MIT License
features/abc/
- skips a directory
features/abc/def.feature
- skips a feature
feature/abc/def.feature:12
- skips a scenario from a feature
feature/abc/def.feature:12-28
- skips scenarios defined in given lines from a feature
SpecificationLocator::locateSpecifications()
should return SpecificationIterator
but it doesn't.
It still works because \FilterIterator
proxies unknown methods to the decorated iterator (which indeed implements SpecificationIterator
), but will fail if any other userland code tries to typehint it as SpecificationIterator
.
#9 got me thinking and it looks like "Skip" part in SkipExtension might be misleading, as defined features aren't skipped during testing, but excluded from the test suite.
I propose something like ExcludeExtension, although it is still not as specific as I would like it to be (what about ExcludeFeaturesExtension?).
Should we rename it?
I think we shouldn't skip given features files but just not include these in while building testing suite.
Project description says :
Allows to exclude features or scenarios in Behat tests.
but there is no documentation for how to skip scenarios .
Scanned the code base , but can't find anything related.
Is this actually supported or at the moment only skipping features is supported?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.