utest¶
utest is a modern, non-invasive testing framework for ucode, OpenWrt's scripting language.
Documentation¶
-
Tutorials
Step-by-step guides for newcomers. Start here if you have never written a utest suite or contributed to the framework before.
-
How-to Guides
Task-oriented recipes for specific goals: skipping tests, mocking UCI, running in CI, writing a custom proxy, and more.
-
Reference
Authoritative descriptions of the CLI, DSL, assertion API, mock API, and proxy data models. Use this when you need exact details.
-
Explanation
Background reading on design decisions: test isolation, the worker/coordinator architecture, the mock engine, and shim generation.