Quick Tip: Run Only Specific Tests in Your Build Pipeline with JUnit Tags
At work, I recently had the task to make our build pipeline run only a subset of tests — basically, to skip long-running or low-priority cases. At first, I went down the Spring Boot @EnabledIf route. It works, but honestly, it’s overkill for this use case. Turns out there’s a much simpler and more elegant…