datatyping icon indicating copy to clipboard operation
datatyping copied to clipboard

Tests based on real world apis

Open carlbordum opened this issue 7 years ago • 4 comments

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.

carlbordum avatar Oct 01 '18 19:10 carlbordum

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

cupOJoseph avatar Oct 01 '18 19:10 cupOJoseph

Yea, what do you think?

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

carlbordum avatar Oct 01 '18 19:10 carlbordum

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

dbxnr avatar Oct 01 '18 19:10 dbxnr

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

carlbordum avatar Oct 03 '18 16:10 carlbordum