Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 753 Bytes

TEST.md

File metadata and controls

33 lines (25 loc) · 753 Bytes

Testing

Tests should be written and used whenever possible. Tests are automatically run when a PR is created amd must pass to merge.

To run tests locally

make test

Unit Testing

This repo uses testify for assertions and mockery to mock third party dependencies through dependency injection.

Integration Testing

TODO

Functional Testing

You can easily spin up a local kind cluster for functional testing.

  1. Create Kind Cluster
    make kind-start
  2. Deploy CRDs
    make install
  3. Create sample CRs
    make deploy-samples
  4. Launch app with make run or VSCode debugger