|
← Revision 4 as of 2010-08-16 21:25:56
Size: 1112
Comment:
|
← Revision 5 as of 2010-08-16 21:31:50 →
Size: 1114
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 32: | Line 32: |
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