vault
vault copied to clipboard
Increasing code coverage
We need to increase our code coverage, for initial we can start off by writing test cases for the following two simple functions :
-
check_url(url: str)
invault.py
-
check_ip(ip: str)
invault.py
I would like to work on this. I've already done a simple test for the check_url(str) in a new branch "testing-vault.py" in the repository I forked.
@FrancescoPenasa Sure. Go ahead :)
@abhisharma404 I want to do this one .
@sap143 Sure. Go ahead
I am not getting what exactly I have to do .please guide me
@sap143 you can just google that. Increasing code coverage means writing test for code. Ex: https://developer.ibm.com/recipes/tutorials/testing-and-code-coverage-with-python/
This is just one example you can find more online.