maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard W. Adams" <RWADA...@UP.COM>
Subject Separate Integration & Unit Tests
Date Mon, 15 Aug 2016 13:52:11 GMT
Can someone clarify how to separate unit & integration tests in the Maven 
standard directory layout? The documentation says to use src/test/java for 
"test source," but src/it for "integration tests (primarily) for plugins."

Does that mean we should use src/it only when developing a plugin? 

Are normal integration tests grouped with unit tests under src/test/java? 
If so, how does Failsafe know which tests to run for the verify goal? That 
is, how does Failsafe distinguish between unit & integration tests if 
they're under the same directory?


This email and any attachments may contain information that is confidential and/or privileged
for the sole use of the intended recipient.  Any use, review, disclosure, copying, distribution
or reliance by others, and any forwarding of this email or its contents, without the express
permission of the sender is strictly prohibited by law.  If you are not the intended recipient,
please contact the sender immediately, delete the e-mail and destroy all copies.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message