docker-compose-ui
docker-compose-ui copied to clipboard
Add tests for core API endpoints
We should add tests for the core API endpoints (i.e. /api/v1/
URLs). This way we can hopefully prevent BC breaks in the future.
I agree with you. Do you have an idea about how to implement the unit tests?
I was thinking about something like this: https://github.com/kevana/ui-for-docker/blob/master/test/unit/app/components/statsController.spec.js
I was thinking more from the Python side, but I suppose it would make sense to test directly in angular/JS as well.
Flake8 could be useful in addition