Hello everyone!

We have been investing plenty of personal time and energy for many years to share our knowledge with you all. However, we now need your help to keep this blog running. All you have to do is just click one of the adverts on the site, otherwise it will sadly be taken down due to hosting etc. costs. Thank you.

Steps below can also be used in build.xml file.


Styling command tags


# Creates html report file in root and do not show anything in command line
bin/behat --profile=backend --format html --out behat.html

# Creates html report file in root and prints dot signs as output in command line
bin/behat --profile=backend -f progress,html --out ,behat.html

# Creates html report file in root and prints all the steps as output in command line
bin/behat --profile=backend -f pretty,html --out ,behat.html

# Prints only dot signs as output in command line
bin/behat --profile=backend -f progress

# Prints all the steps as output in command line
bin/behat --profile=backend -f pretty

HTML report


You can use BehatHtmlFormatterPlugin bundle for HTML reports.