openwhisk-package-kafka
openwhisk-package-kafka copied to clipboard
Travis CI
We should have some set of basic unit tests run as part of a Travis CI suite. The goal should be to quickly verify that new changes do not horribly break existing functionality.
Perhaps the feed provider application could be unit tested directly without requiring a full OpenWhisk deployment?
When we enable the Travis CI: do we intend to run unit tests for the feed actions(KafkaFeed and MessageHubFeed) without OpenWhisk installation? Or do we run other tests for python code of the Kafka package?
My primary concern is to ensure that the Travis run is fast. If we can somehow test against a current OpenWhisk deployment in Travis and keep the time reasonable (under 30 minutes) then that is preferable. However, I doubt that is really possible, and so I would lean toward running unit tests against the feed service itself.