[ https://issues.apache.org/jira/browse/JAMES-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17876707#comment-17876707 ]
Wojtek commented on JAMES-3879: ------------------------------- Mentioned again in PR: https://github.com/apache/james-project/pull/2381#issuecomment-2309715881 > Use jUnit Category/Tag to exclude by default integration/long running tests > --------------------------------------------------------------------------- > > Key: JAMES-3879 > URL: https://issues.apache.org/jira/browse/JAMES-3879 > Project: James Server > Issue Type: Test > Affects Versions: master > Reporter: Wojtek > Priority: Minor > > On the main James page > (https://github.com/apache/james-project#how-to-check-the-compilation) there > is a text: > "Useful (maven) options includes: `-DskipTests` to skip the long to execute > resource consuming test suite that requires a docker daemon." > I propose using `Tag` annotation to mark those test ("docker", "slow", > "integration", etc.) and by default exclude those categories. > Main benefit, that majority of tests would be run when building James either > way (thus, allowing to test most of the code) and integration tests can still > be run (either locally or on CI) -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org