Permalink
Please
sign in to comment.
Browse files
add Maven profiles: default excludes non-essential unit tests IQSS#4896
- Loading branch information...
Showing
with
66 additions
and 12 deletions.
- +1 −1 .travis.yml
- +1 −0 conf/docker-aio/run-test-suite.sh
- +11 −0 doc/sphinx-guides/source/developers/testing.rst
- +26 −1 pom.xml
- +10 −0 src/test/java/edu/harvard/iq/dataverse/NonEssentialTests.java
- +8 −9 src/test/java/edu/harvard/iq/dataverse/provenance/ProvInvestigatorTest.java
- +5 −1 src/test/java/edu/harvard/iq/dataverse/util/xml/XmlValidatorTest.java
- +4 −0 src/test/java/edu/harvard/iq/dataverse/worldmapauth/WorldMapTokenTest.java
@@ -1,5 +1,5 @@ | |||
language: java | |||
jdk: | |||
- oraclejdk8 | |||
script: mvn -DcompilerArgument=-Xlint:unchecked test | |||
script: mvn -DcompilerArgument=-Xlint:unchecked test -P all-unit-tests | |||
after_success: mvn jacoco:report coveralls:report |
@@ -0,0 +1,10 @@ | |||
package edu.harvard.iq.dataverse; | |||
|
|||
/** | |||
* Tests annotated as non-essential will not be run by default on developers' | |||
* laptops but they will run on continuous integration platforms like Travis CI. | |||
* To work on one of these tests, you have to comment out the annotation. | |||
*/ | |||
public interface NonEssentialTests { | |||
|
|||
} |
0 comments on commit
6ad8056