Skip to content

Commit

Permalink
Merge pull request #25 from saalfeldlab/feat/refactorTests
Browse files Browse the repository at this point in the history
Feat/refactor tests
  • Loading branch information
cmhulbert authored Mar 5, 2024
2 parents 4a840b9 + e9e84e6 commit 49dc801
Show file tree
Hide file tree
Showing 25 changed files with 979 additions and 1,200 deletions.
52 changes: 33 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>org.janelia.saalfeldlab</groupId>
<artifactId>n5-aws-s3</artifactId>
<version>4.0.3-SNAPSHOT</version>
<version>4.1.0-SNAPSHOT</version>

<name>N5 AWS S3</name>
<description>N5 library implementation using Amazon Web Services S3 backend.</description>
Expand Down Expand Up @@ -120,7 +120,7 @@

<s3mock_2.12.version>0.2.5</s3mock_2.12.version>
<jaxb-api.version>2.2.2</jaxb-api.version>
<n5.version>3.1.3</n5.version>
<n5.version>3.2.0</n5.version>
</properties>

<dependencies>
Expand All @@ -132,6 +132,11 @@
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>

<!-- Test dependencies -->
<dependency>
Expand Down Expand Up @@ -172,23 +177,18 @@
</repositories>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>org.janelia.saalfeldlab.n5.s3.backend.N5AmazonS3BucketRootBackendTest</exclude>
<exclude>org.janelia.saalfeldlab.n5.s3.backend.N5AmazonS3ContainerPathBackendTest</exclude>
<exclude>org.janelia.saalfeldlab.n5.s3.backend.CachedN5AmazonS3BucketRootBackendTest</exclude>
<exclude>org.janelia.saalfeldlab.n5.s3.backend.CachedN5AmazonS3ContainerPathBackendTest</exclude>
<exclude>org.janelia.saalfeldlab.n5.s3.backend.BackendUriTest</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>org.janelia.saalfeldlab.n5.s3.backend.*.java</exclude>
<exclude>org.janelia.saalfeldlab.n5.s3.N5AmazonS3Tests.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
Expand All @@ -201,5 +201,19 @@
<maven.compiler.release>${scijava.jvm.version}</maven.compiler.release>
</properties>
</profile>
<profile>
<id>run-backend-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes combine.self="override"/>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Loading

0 comments on commit 49dc801

Please sign in to comment.