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
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,15 @@ For additional demos and use cases have a look under `spurwing/test_api.py`.
46
46
Spurwing's REST API Reference and Docs: https://docs.spurwing.io/
47
47
48
48
## 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
+
```
50
58
51
59
## Support
52
60
- For public issues and bugs please use the GitHub Issues Page.
0 commit comments