Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Add tests for core API endpoints #82

Open
MichaelMackus opened this issue May 24, 2017 · 3 comments
Open

Add tests for core API endpoints #82

MichaelMackus opened this issue May 24, 2017 · 3 comments

Comments

@MichaelMackus
Copy link
Contributor

MichaelMackus commented May 24, 2017

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.

@francescou
Copy link
Owner

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

@MichaelMackus
Copy link
Contributor Author

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

@MichaelMackus
Copy link
Contributor Author

Flake8 could be useful in addition

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants