-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Diane Delallée edited this page Feb 26, 2021
·
3 revisions
Small repository to play with the doctest
you can find several examples on how to use doctest:
- 01: small classic example on an easy function
- 02: a function a bit more complex to test
- 03: an example on how to handle blank line in the test
- 04: an example on how to test an exception
- 05: an example of doctest in a class
- 06: an example to launch test oustide the file
- 07: an example with the test outside the function, and in a RST file
- 08: an example on how to launch all the doctest, Usefull for the CI pipeline