friendsofbehat / testcontext Goto Github PK
View Code? Open in Web Editor NEW:mortar_board: Provides reusable context that helps in testing Behat extensions.
License: MIT License
:mortar_board: Provides reusable context that helps in testing Behat extensions.
License: MIT License
Right now TestContext
is final and all its properties are private. We should allow some way to access its properties and create new steps definitions based on them.
We should include some usage examples in readme.
Step a Behat configuration containing
should be tested.
Currently supported version:
Then it should pass with:
"""
Lorem ipsum
"""
The one that also should be supported:
Then it should pass with "Lorem ipsum"
Hi,
I recently wrote an extension for behat and had to copy paste code from Behat's repository FeatureContext to test it.
So I found Behat/Behat#1000 and here I am planning to use this library but I have an issue with it : behat's minimum required version is 3.5
and I'm currently supporting behat 3.0 as the minimum version for my extension.
Is there any reason this library doesn´t support earlier version of behat ?
Thanks
Right now it is defined as:
/**
* @Given a config file :file containing:
* @Given a context file :file containing:
* @Given a feature file :file containing:
*/
We should extend it to accept both a file "foo" containing:
and a RANDOM WORDS HERE file "foo" containing:
to allow for more flexibility in naming.
That's the current behaviour, just the tests are missing
State set in one scenario should not affect the another. If we create some files in one scenario, they shouldn't be used for the another one.
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.