WordPress-Behat-Context
WordPress-Behat-Context copied to clipboard
Hello World Example
I'm new to Behat. Which directory is "WordPressContext.php" put in?
You should be able to place WordPressContext.php in the features/bootstrap directory, alongside FeatureContext.php. Then just modify the require accordingly.
Any news on whether you might be able to implement something like this or even just more detailed installation steps in the README? I notice you require a couple of files from a PHPUnit folder but don't mention the context requiring that or how to install it in the Readme.
If there was a big banner saying where to put it, then it wouldn't solve any problems because the user would then say "well now what do I do?" at which point you're basically writing an entire tutorial where 95% of it is generic non-WordPress specific Behat, and the last 5% is what's already said in this Git Repo. There's already good Behat docs out there that do that, we should link to them instead