mirror of
https://github.com/revanced/jadb.git
synced 2025-02-11 01:26:47 +01:00
vidstige/jadb#26 separate tests for unit and integration
This commit is contained in:
parent
ee20300b30
commit
c94d080159
31
pom.xml
31
pom.xml
@ -27,6 +27,7 @@
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<maven.compiler.target>1.7</maven.compiler.target>
|
||||
<maven.compiler.source>1.7</maven.compiler.source>
|
||||
</properties>
|
||||
@ -82,19 +83,45 @@
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.5</version>
|
||||
<version>2.19.1</version>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/*.java</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<!--Integration tests -->
|
||||
<exclude>se.vidstige.jadb.test.integration.*</exclude>
|
||||
<!--Mocks and data-->
|
||||
<exclude>**/data/*</exclude>
|
||||
<exclude>**/fakes/*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>2.19.1</version>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/*.java</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<!--Integration tests -->
|
||||
<exclude>se.vidstige.jadb.test.unit.*</exclude>
|
||||
<!--Mocks and data-->
|
||||
<exclude>**/data/*</exclude>
|
||||
<exclude>**/fakes/*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>integration-test</goal>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package se.vidstige.jadb.test;
|
||||
package se.vidstige.jadb.test.integration;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
@ -1,4 +1,4 @@
|
||||
package se.vidstige.jadb.test;
|
||||
package se.vidstige.jadb.test.integration;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
@ -1,4 +1,4 @@
|
||||
package se.vidstige.jadb.test;
|
||||
package se.vidstige.jadb.test.unit;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
@ -1,4 +1,4 @@
|
||||
package se.vidstige.jadb.test;
|
||||
package se.vidstige.jadb.test.unit;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
@ -1,4 +1,4 @@
|
||||
package se.vidstige.jadb.test;
|
||||
package se.vidstige.jadb.test.unit;
|
||||
|
||||
import org.junit.After;
|
||||
import org.junit.Assert;
|
Loading…
x
Reference in New Issue
Block a user