1
0
Fork
You've already forked WikiPathwaysCurator
0
No description
  • Java 100%
2026年06月24日 09:38:47 +02:00
.github/workflows No support for J8 anymore 2022年07月16日 09:00:05 +02:00
docs Find pathways without a description field 2026年06月24日 09:38:47 +02:00
src Find pathways without a description field 2026年06月24日 09:38:47 +02:00
.gitignore More Sec2Pri tests 2025年08月08日 20:56:05 +02:00
.project Updated to Jena 3 2016年04月07日 12:36:15 +02:00
LICENSE.txt Create LICENSE.txt 2018年05月13日 17:57:46 +02:00
pom.xml Newer commons-codec 2024年07月16日 21:08:32 +02:00
README.md Correct badge 2022年08月10日 14:13:25 +02:00

Java CI with Maven

Unit tests for curating WikiPathways using SPARQL.

This code base runs a number of SPARQL queries wrapped in JUnit files to detect issues in the GPML content, by assessing the WPRDF.

License

MIT license

Running the tests

First, you need to copy WikiPathways RDF file into a local folder, e.g. /tmp/doesntexist/, and then you can run the tests with by setting a few options:

mvn install -DOPSWPRDF=/tmp/doesntexist -DSUBSETPREFIX=wp9

Or run a specific test:

mvn install -DOPSWPRDF=/tmp/doesntexist -DSUBSETPREFIX=wp9 -Dtest=nl.unimaas.bigcat.wikipathways.curator.EnsemblGenes

Selection subsets of tests

JUnit was used to define groups of tests, which can be included and excluded on runtime. For this, the junit5.excludeGroups and junit5.groups options can be used. For example, to only run the VoID header file tests, do:

mvn install -DOPSWPRDF=/tmp/doesntexist -DSUBSETPREFIX=wp9 -Djunit5.groups=void

SPARQL end point

If you wish to run the tests agains a SPARQL end point (e.g. http://sparql.wikipathways.org/), then you run:

mvn install -DSPARQLEP=https://sparql.wikipathways.org/sparql

If you have the data loaded into a local Blazegraph installation, then the command looks like:

mvn install -DSPARQLEP=http://localhost:9999/blazegraph/sparql