Garden-AI / garden

https://garden-ai.readthedocs.io
MIT License
17 stars 4 forks source link

test suite revamp #507

Open OwenPriceSkelly opened 1 month ago

OwenPriceSkelly commented 1 month ago

Parent issue for @hholb's sidequest of revamping the test suite for the SDK. High level goals we settled on in our recent sync, subject to change:

  1. comprehensive unit test coverage of the CLI commands themselves. These should still mock API calls and anything expensive like commands that require building an image.
  2. end-to-end integration test (existing issue: #461) that exercises the CLI against our dev backend. This should run regularly and should include executing remotely on the demo endpoint, notifying us if there's a failure
  3. if not already accomplished for free with (1), target of 80% unit test coverage for the rest of sdk