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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] Don't swallow parse errors on the CLI #2632

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

mpkorstanje
Copy link
Contributor

@mpkorstanje mpkorstanje commented Oct 31, 2022

馃 What's changed?

With v7.6.0 in 3bc80b9 before all and after
all hooks were introduced. This moved parsing of features into the execution
context. This resulted in any parse errors being swallowed with the assumption
that they would have been captured by the execution context already.

Fixes: #2631

@codecov
Copy link

codecov bot commented Oct 31, 2022

Codecov Report

Merging #2632 (40b3145) into main (4af1850) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main    #2632   +/-   ##
=========================================
  Coverage     84.79%   84.79%           
  Complexity     2693     2693           
=========================================
  Files           322      322           
  Lines          9544     9544           
  Branches        908      908           
=========================================
  Hits           8093     8093           
  Misses         1120     1120           
  Partials        331      331           
Impacted Files Coverage 螖
...rc/main/java/io/cucumber/core/runtime/Runtime.java 92.92% <100.00%> (酶)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

With v7.6.0 in 3bc80b9 before all and after
all hooks were introduced. This moved parsing of features into the execution
context. This resulted in any parse errors being swallowed with the assumption
that they would have been captured by the execution context already.

Fixes: #2631
@mpkorstanje mpkorstanje marked this pull request as ready for review October 31, 2022 12:26
@mpkorstanje mpkorstanje merged commit 59195cd into main Oct 31, 2022
@mpkorstanje mpkorstanje deleted the do-not-swallow-parse-errors branch October 31, 2022 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No tests are discovered if feature starts with comments followed by description
1 participant