carlbordum / datatyping

Pythonic type checking
http://datatyping.readthedocs.io
MIT License
35 stars 4 forks source link

Tests based on real world apis #4

Open carlbordum opened 5 years ago

carlbordum commented 5 years ago

It would be cool if we included test data from some open apis. Any ideas?

I dont want the tests to fetch the data everytime. It should be hardcoded or read from a file.

cupOJoseph commented 5 years ago

Read from a file, as in add some example json files to the repo?

carlbordum commented 5 years ago

Yea, what do you think?

I was thinking json files, perhaps located in (a new folder) tests/data/.

dbxnr commented 5 years ago

I could add a few things I've been working with

carlbordum commented 5 years ago

Okay, I think example responses from the documentation of open api's is the way to go.