Integration tests require full context, unit tests do not.
Integration tests differ from unit tests in that they require a full application context to verify interactions between components, whereas unit tests focus on individual components with minimal setup. In a build tool like Maven, you might configure integration tests to run in a specific lifecycle phase, such as 'verify', separate from unit tests in the 'test' phase, to ensure comprehensive testing of your e-commerce application.
Additional Notes
How do integration tests differ from unit tests in build configurations?