Skip to content

Report produced by ConditionReportApplicationContextFailureProcessor is always empty in a failed test #42185

@dsyer

Description

@dsyer

There are no outcomes because the report on the context that failed was already discarded by Spring since it was a singleton bean instance. To reproduce just look at any failed @SpringBootTest where the context refresh fails and look for the empty condition evaluation report on stderr:

============================ CONDITIONS EVALUATION REPORT ============================ Positive matches: ----------------- None Negative matches: ----------------- None Exclusions: ----------- None Unconditional classes: ---------------------- None 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions