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
Tests are grouped with the @tag annotation, distinguishing "Integration, Unit- and DeveloperTests".
Tests are also grouped for specific components and there are TestSuites (again)
Example: @SelectPackages("com.baeldung.tags") @IncludeTags("UnitTest") public class EmployeeDAOUnitTestSuite { }
Projects Wiki contains a section on the test concept. Explaining the purpose of each category.
Integration Tests are executed during the CI pipeline build using test-containers
H2 Dependencies are no longer required within the project, as all Integration tests are based upon testcontainer now.
The text was updated successfully, but these errors were encountered:
Test needs to be grouped or classified in IntegrationTests, UnitTests and DeveloperTests.
See https://www.baeldung.com/junit-filtering-tests
Acceptance criteria:
Example:
@SelectPackages("com.baeldung.tags") @IncludeTags("UnitTest") public class EmployeeDAOUnitTestSuite { }
The text was updated successfully, but these errors were encountered: