Skip to content

Commit 72984ca

Browse files
committed
Explain how to test the project
1 parent da6713e commit 72984ca

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,19 @@ def update_thing(event, context):
5959
return {"PhysicalResourceId": "arn:aws:fake:myID"}
6060
```
6161

62+
## Running Tests
63+
64+
To run the tests locally, you need Python 2.7 and `pip`. Ideally, you should
65+
use a virtualenv.
66+
67+
```
68+
$ pip install -r test-requirements.txt
69+
$ py.test
70+
```
71+
72+
The tests use `mock` and `py.test` and will give you a terminal coverage
73+
report. Currently the tests cover ~90% of the (very small) codebase.
74+
6275
## License
6376

6477
This code is released under the MIT software license, see LICENSE.txt for

0 commit comments

Comments
 (0)