docker-compose-ui icon indicating copy to clipboard operation
docker-compose-ui copied to clipboard

Add tests for core API endpoints

Open MichaelMackus opened this issue 7 years ago • 3 comments

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.

MichaelMackus avatar May 24 '17 00:05 MichaelMackus

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

francescou avatar Jun 30 '17 14:06 francescou

I was thinking more from the Python side, but I suppose it would make sense to test directly in angular/JS as well.

MichaelMackus avatar Jul 05 '17 16:07 MichaelMackus

Flake8 could be useful in addition

MichaelMackus avatar Jul 14 '17 16:07 MichaelMackus