Commit b3d50df 1 parent 6abc7c6 commit b3d50df Copy full SHA for b3d50df
File tree 5 files changed +14
-1
lines changed
5 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 2
2
omit =
3
3
setup.py
4
4
version.py
5
+ jarvis_sdk/api.py
5
6
jarvis_sdk/example.py
6
7
jarvis_sdk/indykite/*
7
8
jarvis_sdk/validate/*
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ Contributors guide: ./CONTRIBUTING.md
16
16
- [ ] ` make test ` passes
17
17
- [ ] tests and/or benchmarks are included
18
18
- [ ] documentation is changed or added
19
- - [ ] commit message follows [ commit guidelines] ( ./doc/guides/commit-message.md#commit-message-guidelines )
20
19
21
20
<!-- _NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open._ -->
22
21
Original file line number Diff line number Diff line change @@ -181,6 +181,16 @@ def open_and_close_channel():
181
181
client.channel.close()
182
182
```
183
183
184
+ ## Running tests
185
+
186
+ To run unit tests, simply execute
187
+
188
+ pytest
189
+
190
+ To display code coverage, enter
191
+
192
+ pytest --cov .
193
+
184
194
## Functions to call
185
195
186
196
Most of the calls can be executed in two ways:
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ coverage:
8
8
ignore :
9
9
- " setup.py"
10
10
- " version.py"
11
+ - " jarvis_sdk/api.py"
11
12
- " jarvis_sdk/example.py"
12
13
- " jarvis_sdk/indykite"
13
14
- " jarvis_sdk/validate"
Original file line number Diff line number Diff line change
1
+ [pytest]
2
+ addopts = --ignore =tests/test_api.py
You can’t perform that action at this time.
0 commit comments