Skip to content

Conversation

joshiste
Copy link
Contributor

@joshiste joshiste commented Nov 21, 2019

Description

fixes #405

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have added tests to cover my changes.

@joshiste joshiste force-pushed the OnConditionalWebApplication branch 2 times, most recently from dc9fcf4 to b6d89d8 Compare November 23, 2019 11:15
@joshiste joshiste force-pushed the OnConditionalWebApplication branch from b6d89d8 to 601020e Compare November 23, 2019 11:18
@joshiste
Copy link
Contributor Author

The build fails with coverage not met. This PR just adds a single annotation and a test. I'm confused and don't know how to fix this.

@whiskeysierra
Copy link
Collaborator

Looks like your annotation disables other tests. I assume the existing tests are not set up correctly (no web application context?).

@joshiste
Copy link
Contributor Author

joshiste commented Nov 24, 2019

@whiskeysierra the thing is: The problem-spring-web-autoconfigure module didn't have any tests before. Therefore the jacoco-maven-plugin wasn't executued and didn't complain (Skipping JaCoCo execution due to missing execution data file.).

@whiskeysierra
Copy link
Collaborator

whiskeysierra commented Nov 24, 2019 via email

@whiskeysierra
Copy link
Collaborator

Superseded by #413

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.

Add @ConditionalOnWebApplication for those autoconfigurations depending on web

2 participants