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

Test Geometries with hypothesis #361

Closed
4 of 5 tasks
cleder opened this issue Oct 5, 2024 · 1 comment · Fixed by #364
Closed
4 of 5 tasks

Test Geometries with hypothesis #361

cleder opened this issue Oct 5, 2024 · 1 comment · Fixed by #364
Labels
Milestone

Comments

@cleder
Copy link
Owner

cleder commented Oct 5, 2024

PyGeoIf supplies strategies.

Test the roundtrip that serialization/derealization and repr will reconstruct the object faithfully.

#355 would probably have been caught with hypothesis property based testing

The Ghostwriter can provide a good starting point ☑️

Add Tests for:

  • Coordinates
  • Points
  • Linestring
  • Polygon
  • MultiGeometry
@cleder cleder added this to FastKML Oct 5, 2024
@cleder cleder added this to the Version 1.0 milestone Oct 5, 2024
@cleder cleder moved this to Todo in FastKML Oct 5, 2024
@cleder cleder linked a pull request Oct 12, 2024 that will close this issue
@cleder
Copy link
Owner Author

cleder commented Oct 12, 2024

Almost done,
to-do:

  • refactor tests to avoid duplication
  • reproducible tests for MultiGeometry

@cleder cleder moved this from Todo to In Progress in FastKML Oct 12, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in FastKML Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant