Integration Test with OSGi, Spring DM, and Maven
Status
Still under construction - KeiichiroOno (8/16/2010)
Pom File
Integration test should be run AFTER your code passes the unit tests. To run separate test suite as an integration test, you need to use maven-failsafe-plugin.
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>2.6</version> <executions> <execution> <id>integration-test</id> <goals> <goal>integration-test</goal> </goals> </execution> <execution> <id>verify</id> <goals> <goal>verify</goal> </goals> </execution> </executions> </plugin>
Log4j Props
Test Code
1 // Use IT*.java for Integration tests
2 public class ITViewModelImpl extends AbstractConfigurableBundleCreatorTests {
3 }
4