unikent / astro

MIT License
7 stars 2 forks source link

API Unit / integration / feature tests #203

Open sy238-unikent opened 6 years ago

sy238-unikent commented 6 years ago

Need to setup a good framework for testing the API, including fixture data, etc.

As part of that, lets fix all the not currently implemented test stubs.

samyapp commented 6 years ago

Short term I think testing making requests at the API level would be a good start: https://laravel.com/docs/5.4/http-tests#testing-json-apis

samyapp commented 6 years ago

Fixtures:

samyapp commented 6 years ago

Starting with tests around the createsite api endpoint.

samyapp commented 6 years ago

Needs more work in 2018... https://github.com/unikent/astro/tree/feature/api-feature-tests