Skip to content

Unit tests

John O'Sullivan edited this page Oct 28, 2026 · 2 revisions

NoDOM has a set of unit tests to validate base functionality. If you're debugging NoDOM internals, or extending it with a new widget, you'll need to know what the tests are, and how to run them.

data_cache: test data layout cache. Check all enum/string conversions as well as data and layout handling.

bulk_cache: test bulk cache XY ranges, which are the underpinnings of NoDOM charting.

duck_varchar: a couple of DuckDB specific tests for interned strings and summaries.

live_cache: test subscriptions, updating and history ring buffers.

nodom_forth: test the Forth subsystem.

Clone this wiki locally