/openwhisk-playground

OpenWhisk experiments

Primary LanguageShellMIT LicenseMIT

Openwhisk Playground Build Status

Sample project for setting up test-driven development of OpenWhisk actions using javascript.

Service Model

The project exposes a REST style API via OpenWhisk. The API is implemented based on this project.

Developing actions

Javascript actions are built via grunt. This includes local unit testing of action logic via nodeunit. This article describes how to install and setup such projects.

Note: When developing an action, provide tests first, then build with grunt.

Continuous integration testing

Integration testing is done continuously via travis ci.

Note: You can test the remote action with the local script local-test.sh.

TODO: trigger unit tests via travis too?