Skip to content

Commit 03755a0

Browse files
committed
Add testkit instruction to Readme
1 parent 44358a8 commit 03755a0

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

README.md

+34
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,40 @@ See files under `examples/` on how to use.
490490

491491
## Testing
492492

493+
Tests **require** latest [Testkit 4.3](https://github.com/neo4j-drivers/testkit/tree/4.3), Python3 and Docker.
494+
495+
Testkit is needed to be cloned and configured to run against the Javascript Lite Driver. Use the following steps to configure Testkit.
496+
497+
1. Clone the Testkit repository
498+
499+
```
500+
git clone https://github.com/neo4j-drivers/testkit.git
501+
```
502+
503+
2. Under the Testkit folder, install the requirements.
504+
505+
```
506+
pip3 install -r requirements.txt
507+
```
508+
509+
3. Define some enviroment variables to configure Testkit
510+
511+
```
512+
export TEST_DRIVER_NAME=javascript
513+
export TEST_DRIVER_REPO=<path for the root folder of driver repository>
514+
unset TEST_DRIVER_LITE
515+
```
516+
517+
To run test against against some Neo4j version:
518+
519+
```
520+
python3 main.py
521+
```
522+
523+
More details about how to use Teskit could be found on [its repository](https://github.com/neo4j-drivers/testkit/tree/4.3)
524+
525+
## Testing (Legacy)
526+
493527
Tests **require** latest [Boltkit](https://github.com/neo4j-contrib/boltkit) and [Firefox](https://www.mozilla.org/firefox/) to be installed in the system.
494528

495529
Boltkit is needed to start, stop and configure local test database. Boltkit can be installed with the following command:

0 commit comments

Comments
 (0)