Skip to content

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

Merged
andrcuns merged 2 commits intomasterfrom
feature-failed-exception
Feb 17, 2024
Merged

Add option to configure exception class for marking test as failed#531
andrcuns merged 2 commits intomasterfrom
feature-failed-exception

Conversation

@andrcuns
Copy link
Copy Markdown
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
@qlty-cloud-legacy
Copy link
Copy Markdown

qlty-cloud-legacy 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
@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