Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to configure exception class for marking test as failed #531

Merged
merged 2 commits into from
Feb 17, 2024

Conversation

andrcuns
Copy link
Collaborator

@andrcuns andrcuns commented Feb 17, 2024

  • Add ability to provide custom exception class that marks test as failed
  • Use consistent status for step and test in cucumber

Closes #529


Allure Report

allure-report-publisher generated test report!

rspec: ✅ test report for 63feb4aa

+--------------------------------------------------------------------------+
|                            behaviors summary                             |
+---------------------+--------+--------+---------+-------+-------+--------+
|                     | passed | failed | skipped | flaky | total | result |
+---------------------+--------+--------+---------+-------+-------+--------+
| allure-cucumber     | 256    | 0      | 0       | 0     | 256   ||
| allure-rspec        | 168    | 0      | 0       | 0     | 168   ||
| allure-ruby-commons | 728    | 0      | 0       | 0     | 728   ||
+---------------------+--------+--------+---------+-------+-------+--------+
| Total               | 1152   | 0      | 0       | 0     | 1152  ||
+---------------------+--------+--------+---------+-------+-------+--------+

@andrcuns andrcuns added the feature New feature or request label Feb 17, 2024
Copy link

codeclimate bot commented Feb 17, 2024

Code Climate has analyzed commit 63feb4a and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 98.7% (-0.2% change).

View more on Code Climate.

@andrcuns andrcuns merged commit 5614680 into master Feb 17, 2024
14 of 15 checks passed
@andrcuns andrcuns deleted the feature-failed-exception branch February 17, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[allure-cucumber] Inconsistent step and test status if not using RSpec
1 participant