Skip to content

Commit bb4f50b

Browse files
committed
add Development Start-Guide to Run Tests Locally
1 parent 71c7548 commit bb4f50b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,19 @@ array.write(
3838
ucar.ma2.Array.factory(ucar.ma2.DataType.UINT, new int[]{1, 1024, 1024, 1024})
3939
);
4040
```
41+
## Development Start-Guide
42+
43+
### Run Tests Locally
44+
To be able to run the tests locally, make sure to have `python3.11` installed.
45+
Also, you need to set up a venv for zarrita at the root of the project:
46+
`python -m venv venv_zarrita`.
47+
48+
Then install zarrita there with `venv_zarrita/Scripts/pip install zarrita`
49+
for Windows and `venv_zarrita/bin/pip install zarrita` for Linux.
50+
51+
Furthermore, you will need the `l4_sample` test data:
52+
53+
`curl https://static.webknossos.org/data/zarr_v3/l4_sample.zip -o testdata/l4_sample.zip
54+
&& cd testdata
55+
&& unzip l4_sample.zip
56+
`

0 commit comments

Comments
 (0)