calabashcalabash-ioscalabash-androidallure

How to generate allure report with calabash?


I'm using calabash for automate mobile app. Is it possible to integrate allure report in calabash framework?


Solution

  • To create report for calabash test:

    Install allure for cucumber:

    Then add following into features/support/env.rb file

    require 'allure-cucumber'
    AllureCucumber.configure do |c|
       c.output_dir = "reports"
    end
    

    Above i have given "reports" as folder name, so the report of test will reside here.

    Now run the calabash test:

    This much will create an XML file as result in "reports" folder.

    You can do more customization on test go through here