mirror of
https://github.com/dathere/ckanaction.git
synced 2025-11-09 06:19:49 +00:00
docs: add running tests instructions to README
This commit is contained in:
parent
66b28fd3f9
commit
1db8b34ddc
1 changed files with 8 additions and 0 deletions
|
|
@ -81,3 +81,11 @@ println!("{status_show:#?}");
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
- If you use a `maybe_fn()` then if you provide `None` it will be ignored and that parameter will not be added to the JSON body. This library assumes `None` would not be provided as a value (since the cases where it is a value is often the default value that the CKAN API already has set for that parameter).
|
- If you use a `maybe_fn()` then if you provide `None` it will be ignored and that parameter will not be added to the JSON body. This library assumes `None` would not be provided as a value (since the cases where it is a value is often the default value that the CKAN API already has set for that parameter).
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
|
To run the tests in the `tests` directory, first replace the values for `CKAN_API_TOKEN` and `CKAN_URL` then run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo test
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue