allure-framework / allure-ruby

Allure integrations for Ruby test frameworks
Apache License 2.0
58 stars 22 forks source link

bug: undefined method `failure_exception=' #533

Closed TDL-EdgarsEglitis closed 8 months ago

TDL-EdgarsEglitis commented 8 months ago

Thanks for adding the ability to configure a custom exception in #531. I'm trying to use this functionality according to the specified usage, but unfortunately this returns an error:

undefined method `failure_exception=' for #<AllureCucumber::CucumberConfig:0x0000000106ed0808 @allure_config=#<Allure::Config:0x0000000106ed0678 @results_directory="reports/allure-results", @logging_level=1, @clean_results_directory=true>> (NoMethodError)

It looks like the new parameter is missing from the allure-rspec/allure-cucumber config.rb files.

andrcuns commented 8 months ago

Forgot to define delegators and did not have proper tests for adapters 🤦