mink:浏览器模拟

Travis-CI:自动化安装环境、运行脚本
behat+mink:测试网页、模拟加载/操作网页、顺序执行task并判断是否满足预期

mink_scenario_1

mink_scenario_2

参考:
developing web applications with behat and mink:
http://docs.behat.org/en/v2.5/cookbook/behat_and_mink.html

Automating Behat and Mink tests with Travis CI
http://robbiemackay.com/2013/05/03/automating-behat-and-mink-tests-with-travis-ci/