Installing Behat 3 / Mink / Selenium for Browser Testing – Windows – Part 2

Did you miss Part 1? Behat is a tool you can use to automate testing of your website with behaviour driven tests. Sample FeatureContext.php The FeatureContext.php is the file holding your custom test commands. In your file structure, it is at D:\Behat\features\bootstrap\FeatureContext.php. This is what mine looks like. Including in full because this was one [...]

By |2017-05-02T16:08:41+10:00May 2nd, 2017|Developer Tools|6 Comments

Installing Behat 3 / Mink / Selenium for Browser Testing – Windows – Part 1

Introduction This post stands on the shoulders of this helpful post by Gnaritas which got me almost all of the way there. I found the opposite to Gnaritas in terms of which browser driver worked. I found the Chrome browser driver kept crashing and the Firefox (Gecko) driver worked fine. Behat is a PHP “behavior-driven development” [...]

By |2017-05-02T16:02:57+10:00May 2nd, 2017|Developer Tools|0 Comments
Go to Top