I do a lot with fixtures when testing. This means I put files in the tests/fixtures folder that represet the JSON of what ever I am testing. For example maybe I hit an API that returns { "foo": "bar" } And when I mock that API response I want to have that ready for me to use. I then save it to the folder tests/fixtures/foo.json and can just use it.