Skip to content

Improve initialization of org.springframework.tests.Assume [SPR-15163] #19729

@spring-projects-issues

Description

@spring-projects-issues

Rob Winch opened SPR-15163 and commented

Currently org.springframework.tests.Assume initializes based upon a static initialization of TestGroup.parse(System.getProperty("testGroups")).

If the parsing fails, using Assume will produce a NoClassDefFoundError since it could not be initialized.

It would be good if we could handle this error better and provide an informative error message to the user indicating that the testGroups could not be parsed.


Affects: 5.0 M4

Referenced from: commits 264edb3

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions