croncat-rs icon indicating copy to clipboard operation
croncat-rs copied to clipboard

Add Mocks & Tests

Open TrevorJTClarke opened this issue 2 years ago • 1 comments

GOAL:

Setup a way to have "E2E" testing to ensure new code doesnt break previous functionality. Add unit tests to cover basics, add mocks for helping aid replicable flows.

Requirements:

  • [ ] Setup unit tests for covering basics like block / pipeline flow, orderliness
  • [ ] Setup E2E mocks (lib? see how strangelove does it with IBC & sdk mock) for mocking RPC
  • [ ] Setup flows that mock the entire lifecycle of an agent:
    • [ ] Register
    • [ ] Do 3-6 tasks
    • [ ] withdraw rewards
    • [ ] Unregister

TrevorJTClarke avatar Oct 26 '22 17:10 TrevorJTClarke