For running a single test from a suite I had to do the following:

  export GREMLIN_TESTS='org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank.PageRankVertexProgramTest'

  mvn test -Dtest=TinkerGraphProcessComputerTest -DfailIfNoTests=false --projects tinkergraph-gremlin,gremlin-test -Dmaven.javadoc.skip=true


The dev docs recommend the following (which does not result in the right single test, not even for the literal copy of the exampe):

 *

   Specify specific tests in a TinkerPop Suite to run with the
   |GREMLIN_TESTS| environment variable, along with the Maven project
   list argument, e.g.:

   export 
GREMLIN_TESTS='org.apache.tinkerpop.gremlin.process.traversal.step.map.PathTest$Traversals,org.apache.tinkerpop.gremlin.process.traversal.PathTest'

   mvn -Dmaven.javadoc.skip=true --projects tinkergraph-gremlin test

How do you guys run single tests, do the dev docs need an update?

Cheers,    Marc

Reply via email to