SpaceNetChallenge / utilities

Packages intended to assist in the preprocessing of SpaceNet satellite imagery data corpus to a format that is consumable by machine learning algorithms.
Other
248 stars 97 forks source link

Write pytest tests for all functions #95

Open nrweir opened 5 years ago

nrweir commented 5 years ago

Write pytest tests for all functions in the module

This is marked as hard not due to the intrinsic difficulty, but due to the amount of thought that will need to go into identifying all possible edge cases that could interfere with each function's performance. For example, if a function reads in a geojson-formatted file, can it handle an empty geojson (which throws an error in gdal/fiona)?

One could start by writing tests to cover the "normal operation" cases to ensure functions perform as expected.

Useful references to get started: