https://github.com/jonathanmccormickjr/try-unittest
https://github.com/jonathanmccormickjr/try-unittest
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonathanmccormickjr/try-unittest
- Owner: JonathanMcCormickJr
- License: mit
- Created: 2023-02-23T03:35:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-28T02:52:23.000Z (7 months ago)
- Last Synced: 2024-11-28T03:29:42.943Z (7 months ago)
- Language: Python
- Size: 34.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# try-unittest
For me to get practice using `unittest`.
## Naming test functions
Remember to include `self`.
Remember to have `test` as the prefix for the test function names, otherwise they will not be included properly, as shown below:
Despite having 2 functions, only one has the prefix `test`, and so only one is included in the testing process.