The test routine is implemented as a gradle project.
- JAVA Development Kit
- iG/Check (locally installed)
Clone/download the repository and change the working directory:
cd suite-interlis/routine
gradlew -Pvendor=<vendor> test
The parameter <vendor>
can contain the values ilivalidator
or ig/check
.
The results are available in /build/reports/tests/test/index.html
.
gradlew -Pvendor=<vendor> javadoc
The JavaDoc is available in /build/docs/javadoc/index.html
.
gradlew -Dhttp.proxyHost=theProxyServer -Dhttp.proxyPort=theProxyPort -Pvendor=<vendor> test
gradlew -Dorg.gradle.java.home=/pathToJavaJDK -Pvendor=<vendor> test
- Alternative 1
SET PATH=%PATH%;'pathToics.exe'
gradlew -Pvendor=ig/check test
- Alternative 2
gradlew -Pvendor=ig/check -Pics=pathToics.exe test
The parameter -Pics
can also be used to test different versions of iG/Check.
The routine is preconfigured to test the ilivalidator version 1.11.14.
To test other versions, the string compile 'ch.interlis:ilivalidator:1.11.14'
in the build.gradle
file (under dependencies
) must be modified accordingly.
All test types are listed in the file build.gradle
(under test
). To skip a test type, the corresponding line must be commented out.
Specific iG/Check settings can be set in the file interlis2.cfg
in the directory igcheck2
.
Test | Reason |
---|---|
RCO.T01a.xtf | java.lang.NullPointerException |
RCO.T02b.xtf | Hang |
RHE.T01b.xtf | java.lang.IllegalArgumentException instead of java.lang.AssertionError. Error message is correct |
RHE.T04a.xtf | java.lang.IllegalArgumentException instead of java.lang.AssertionError. Error message is correct |
RTO.T02a.xtf | java.lang.IllegalArgumentException instead of java.lang.AssertionError. Error message is correct |
RTR.T02a.xtf | Error message is wrong/incomplete |
RTR.T04a.xtf | Error message is wrong |
RXW.T02a.xtf | Error message is wrong |
Test | Reason |
---|---|
RAt.T11e.xtf | Error message is wrong |
RAt.T11f.xtf | Error message is wrong |
RKo.T03a.xtf | Error message is wrong |
RKo.T03b.xtf | Error message is wrong |
RTO.T06c.xtf | Error message is wrong |