You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running mvn test as part of our CI was supposed to run all tests and fail CI if any test would fail. However, we noticed that it is currently not configured properly, and hence there are a handful of broken tests sitting on master branch.
The purpose of this issue is to configure the maven plugins in the project properly so that any broken test would fail the CI. As the candidate, we suggest Surefire plugin of maven be adopted to our project.
Once the plugging is set properly, the broken tests should be identified, their root cause investigated, and fixed one by one.
How to proceed?
Create a branch <yourname>/<issue-number>-<issue-name>
Make sure that you setup the Surefire plugin has setup correctly so that mvn test will _run all tests in src/test/java/** packages. Even develop a simple test and intentionally let it fail to verify whether Surefire can catch it properly.
Identify all broken tests, start by the easiest one to fix, and fix it, and repeat this process iteratively till all tests are passed.
Definition of Done:
Surefire plugin has been configured properly.
mvn test will run all tests in specified package and will detect and catch any broken test.
All broken tests have been identified and fixed one by one.
The text was updated successfully, but these errors were encountered:
Context:
Running
mvn test
as part of our CI was supposed to run all tests and fail CI if any test would fail. However, we noticed that it is currently not configured properly, and hence there are a handful of broken tests sitting onmaster
branch.The purpose of this issue is to configure the maven plugins in the project properly so that any broken test would fail the CI. As the candidate, we suggest Surefire plugin of maven be adopted to our project.
Once the plugging is set properly, the broken tests should be identified, their root cause investigated, and fixed one by one.
How to proceed?
<yourname>/<issue-number>-<issue-name>
mvn test
will _run all tests insrc/test/java/**
packages. Even develop a simple test and intentionally let it fail to verify whether Surefire can catch it properly.Definition of Done:
mvn test
will run all tests in specified package and will detect and catch any broken test.The text was updated successfully, but these errors were encountered: