The Behat extension provides configuration of your machinist environment as well as Behat steps for creating data fixtures and verifying data within a feature test just as you would in a unit test using Machinist.
Add the package derptest/phpmachinist-behat-extension to your composer.json
For more information about Composer, please visit http://getcomposer.org
https://github.com/derptest/phpmachinst-behat-extension/wiki