Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increasing code coverage #54

Open
abhisharma404 opened this issue Dec 17, 2018 · 6 comments
Open

Increasing code coverage #54

abhisharma404 opened this issue Dec 17, 2018 · 6 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers kwoc

Comments

@abhisharma404
Copy link
Owner

We need to increase our code coverage, for initial we can start off by writing test cases for the following two simple functions :

  1. check_url(url: str) in vault.py
  2. check_ip(ip: str) in vault.py
@abhisharma404 abhisharma404 added enhancement New feature or request good first issue Good for newcomers kwoc labels Dec 17, 2018
@FrancescoPenasa
Copy link

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.

@abhisharma404
Copy link
Owner Author

@FrancescoPenasa Sure. Go ahead :)

@sap143
Copy link
Contributor

sap143 commented Dec 11, 2019

@abhisharma404 I want to do this one .

@mzfr
Copy link
Collaborator

mzfr commented Dec 11, 2019

@sap143 Sure. Go ahead

@sap143
Copy link
Contributor

sap143 commented Dec 11, 2019

I am not getting what exactly I have to do .please guide me

@mzfr
Copy link
Collaborator

mzfr commented Dec 11, 2019

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers kwoc
Projects
None yet
Development

No branches or pull requests

4 participants