Skip to content

Support for JUnit 4.7 @Rule (was: message checking with @ExpectedException) [SPR-4643] #9320

Closed
@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-4643 and commented

Additional @ExpectedException attribute to allow the exception message to be checked, e.g. a substring, or regex, or both.


Affects: 2.5.2

Referenced from: commits f9f9b43

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions