-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add Hypothesis tests for Feature and FeatureCollection #222
Comments
@cleder Sir can you please assign me this issue . I know how to make hypothesis tests . |
OK done. Setting Up Your EnvironmentFork the repository and clone your fork to your local machine:
Next, set up a virtual environment. This helps to manage dependencies and avoid conflicts:
Then, install the required packages:
Install the
and check the code with:
Running the TestsTo run the tests, simply use:
You can also run the tests with coverage
To get a report on the individual lines that are not covered, use the Tips
|
There are already hypothesis strategies in https://github.com/cleder/pygeoif/blob/develop/pygeoif/hypothesis/strategies.py so no need to reinvent the wheel |
ok sir @cleder , sir can you please brief it more . Like do we need to use all the strategies or some specefic ones |
Only those which make sense. Features are used in GeoJson which means you only have to test against |
Thank you @cleder |
No description provided.
The text was updated successfully, but these errors were encountered: