Skip to content

Errors in Spock data-provider preparation should be reported by Vintage Engine #1845

@marcphilipp

Description

@marcphilipp

When Spock data-provider preparation fails early, it only calls RunListener.testFailure but not RunListener.testFinished which causes the Vintage engine to never report the failure. Technically, this violates the RunListener interface but due to the established behavior when executing such tests with JUnit 4 in IDEs and build tools, we should provide a handle this case anyway.

Steps to reproduce

see spockframework/spock#976

Deliverables

  • Report tests as finished when failures have been reported even if testFinished wasn't called

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions