The problem with behat is that it takes so long to run that its worthwhile having different output plugins that you can examine whilst a run continues. Since I started using the html output plugin and failure dumps I found it a lot more productive. I think something like that would be a great edition to this!
function behat () {
BEHATDATAROOT=`mdk info -v behat_dataroot`
BEHATPATH=/Users/danp/www/behat_runs/`date +%Y%m%d_%H%M%S`/
mkdir $BEHATPATH
mdk info -v behat_faildump_path -e $BEHATPATH
vendor/bin/behat --format=moodle_progress,progress,html,failed \
--out=,$BEHATPATH/progress.txt,$BEHATPATH/status.html,$BEHATPATH/failed.txt \
--config=$BEHATDATAROOT/behat/behat.yml "$@"
}
I serve that behat_runs directory with apache with listings and can examine it whilst a run is going on.
(Only just getting started with vagrant myself, but hope I could make a pull request at some point :))