openwhisk-package-kafka icon indicating copy to clipboard operation
openwhisk-package-kafka copied to clipboard

Travis CI

Open jberstler opened this issue 8 years ago • 2 comments

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?

jberstler avatar Jan 04 '17 20:01 jberstler

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?

houshengbo avatar Jan 05 '17 20:01 houshengbo

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.

jberstler avatar Jan 05 '17 21:01 jberstler