spring-projects / spring-projects/spring-framework

Fail build for warnings in tests

Open
#31,941 1 comment 1 reaction 1 assignee View on GitHub

@sbrannen is already working on this.

Since Jan 3, 2024.

type: task
Dominant language
Java
Stars
60.2k
Forks
38.8k
Avg merge
5d 2h
Merged PRs (30d)
27

Description

In order to align maintenance of the main and test source trees, the team has decided to fail the Gradle build for warnings in tests. This will also help to reduce the number of warnings in the test source tree within IDEs, thereby decreasing noise and simplifying maintenance of the code base.

In addition, the team would like to investigate using the same set of warnings in the main and test source trees to further harmonize the way we handle test sources.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.