Skip to content

Commit a920811

Browse files
committed
Describe classpath test suite directory structure in the README.
1 parent c3f50e2 commit a920811

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Diff for: README.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,18 @@ remote `git` repositories. To run `rdf-validator` through the `clojure` tool, fi
186186
:aliases {:rdf-validator {:main-opts ["-m" "rdf-validator.core"]}}}
187187
```
188188

189-
The `/path/to/test/suite` directory should contain a `src` directory containing an `rdf-validator-suite.edn` file with the
190-
format described above. The `clojure` tool will put the `/path/to/test/suite/src` directory on the java classpath and the
189+
The `/path/to/test/suite` directory should contain `deps.edn` file along with a `src` directory containing an `rdf-validator-suite.edn` file with the
190+
format described above i.e.
191+
192+
/path/to/test/suite
193+
|---- deps.edn
194+
|---- src
195+
|---- rdf-validator-suite.edn
196+
|---- test1.sparql
197+
|---- test2.sparql
198+
199+
The `deps.edn` file can be empty, although it can also be used to reference dependencies such as other test suites it imports
200+
from (see below on how to specify dependencies). The `clojure` tool will put the `/path/to/test/suite/src` directory on the java classpath and the
191201
`:rdf-validator` alias will invoke `clojure.main` with the required arguments.
192202

193203
Now `rdf-validator` can be run with:

0 commit comments

Comments
 (0)