apache / openwhisk-package-kafka

Apache OpenWhisk package for communicating with Kafka or Message Hub
https://openwhisk.apache.org/
Apache License 2.0
33 stars 43 forks source link

Travis CI #109

Open jberstler opened 7 years ago

jberstler commented 7 years ago

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?

houshengbo commented 7 years ago

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?

jberstler commented 7 years ago

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.