-
I'm currently running Is this enough to test Hue? Or is it too much? I'm asking this because I can successfully run How does CI doing tests? Do they cover |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I suppose this is about the API tests: https://docs.gethue.com/developer/development/#running-the-api-tests Integration tests are not very supported as of today. There is a plan to have the proper CI booting the service to test via a container for that in https://github.com/gethue/compose at some point. In the meantime it is recommended to focus on clear unit tests with mocks (pretty efficient strategy so far): https://github.com/cloudera/hue/blob/master/.circleci/config.yml#L162 |
Beta Was this translation helpful? Give feedback.
I suppose this is about the API tests: https://docs.gethue.com/developer/development/#running-the-api-tests
Integration tests are not very supported as of today. There is a plan to have the proper CI booting the service to test via a container for that in https://github.com/gethue/compose at some point.
In the meantime it is recommended to focus on clear unit tests with mocks (pretty efficient strategy so far):
https://github.com/cloudera/hue/blob/master/.circleci/config.yml#L162