Fake DNS Hosts with Behat with custom behat parameters

I was recently working on a Drupal project that had some internal DNS managed via hosts file. Tell me about it. Having no publicly accessible DNS or IP creates a challenge when your SaaS based Jenkins runs the tests.

The solution for this is a little custom work in your FeatureContext constructor and a BeforeScenario method.

View GitHub Gist //gist.github.com/unn/eba330ba057772dc1c55