You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -37,7 +42,7 @@ sure to include NOMAD's internal package registry (via `--index-url` in the abov
37
42
You can run local tests using the `pytest` package:
38
43
39
44
```sh
40
-
python -m pytest -sv
45
+
python -m pytest -sv tests
41
46
```
42
47
43
48
where the `-s` and `-v` options toggle the output verbosity.
@@ -46,15 +51,20 @@ Our CI/CD pipeline produces a more comprehensive test report using `coverage` an
46
51
47
52
```sh
48
53
pip install coverage coveralls
49
-
python -m pytest --cov=src
54
+
python -m pytest --cov=src tests
55
+
```
56
+
57
+
You can also run the script to generate a local file `coverage.txt` with the same information by doing:
58
+
```sh
59
+
./scripts/generate_coverage_txt.sh
50
60
```
51
61
52
62
## Development
53
63
54
64
The plugin is still under development. If you would like to contribute, install the package in editable mode (with the added `-e` flag) with the development dependencies:
0 commit comments