HomeAboutResearchProducts
Back to Research
AO NETWORK · TOOLING

AO Tooling: Testing

AO Network
Tooling

Aug 15, 2024


AO's process model means traditional unit tests aren't enough — you're testing a system of cooperating processes, message orderings, and state transitions, not a single function. Our process-testing framework lets you spin up isolated processes, drive them with messages, and assert on outcomes — both single-process unit tests and multi-process integration tests. The missing piece for shipping AO software with the confidence production demands.

In this video, we dive into testing processes and smart contracts on AO. We'll walk you through a framework we developed to make unit and mock-based testing easier. You'll see how we test an agent-based system with multiple processes and perform unit tests within a single process.



Learn more:
github.com/Autonomous-Finance/ao-process-testing
github.com/Autonomous-Finance/demos/process-testing-demo
github.com/Autonomous-Finance