Skip to content

What is the proper way to test Hue? #2475

Answered by romainr
byungnam asked this question in Questions
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Harshg999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants