croncat-rs
croncat-rs copied to clipboard
Add Mocks & Tests
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