Aşağıdaki komutlar build.xml dosyasında da kullanılabilir.


Stil komut etiketleri


# 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 raporlama


HTML raporlama için BehatHtmlFormatterPlugin paketini kullanabilirsiniz.