Skip to content

Part 16. Testing and Debugging

Zig has a built-in test system. You do not need a separate testing library to start writing tests.

SectionTitle
1Zig Test Framework
2Writing Unit Tests
3Table-Driven Tests
4Fuzz Testing
5Debug Builds
6Stack Traces
7Assertions
8Using GDB and LLDB
9Memory Debugging
10Benchmarking Code