OpenFn/kit

Integration tests: pull and deploy

Opened this issue · 0 comments

I've love a suite of integration tests against CLI pull and deploy

They should work against the lightning mock. We extend the lightning mock to include responses for the deploy APIs, and we write a bunch of tests which uses the CLI to call out to the mock.

Tests should be stateful and do stuff like:

  • deploy a branch new project
  • pull a new project for the first time
  • change and re-deploy a project
  • pull a project that's been changed

These tests should pay particular attention to state and config files