Skip to content

Commit 2a68c69

Browse files
author
IlyaNevolin
authored
Update README.md
1 parent 093eb57 commit 2a68c69

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,15 @@ For additional demos and use cases have a look under `spurwing/test_api.py`.
4646
Spurwing's REST API Reference and Docs: https://docs.spurwing.io/
4747

4848
## Testing
49-
To run our predefined unit tests use the `spurwing/test_api.py` script. You also need to rename the `config.sample.py` file to `config.py` and enter your credentials (provider id and api key). You can optionally use PyTest or another framework.
49+
To run our predefined unit tests use the `spurwing/test_api.py` script.
50+
51+
You also need to provide the API credentials. You can use environment variables, or rename the `config.sample.py` file to `config.py` and enter your credentials (provider id and api key). Afterwards you can run the `npm tests` command. You can optionally use PyTest or another framework.
52+
53+
Environment variables:
54+
```
55+
SPURWING_PID=change_me
56+
SPURWING_KEY=change_me
57+
```
5058

5159
## Support
5260
- For public issues and bugs please use the GitHub Issues Page.

0 commit comments

Comments
 (0)