Releases: pyk/cmdtest
Releases · pyk/cmdtest
v0.2.0 (Crimson Compass)
Summary
This release renames the package from exetest to cmdtest to better reflect the project's purpose: simpler, ergonomic testing helpers for command-line applications for Zig.
The new name more clearly communicates the package intent: testing command-line interfaces.
What changed
- Renamed the package name from
exetesttocmdtest. - Updated build outputs and package naming to match the new name.
Migration notes
- Reinstall the
cmdtestusing the following command:zig fetch --save=cmdtest https://github.com/pyk/cmdtest/archive/v0.2.0.tar.gz
- If you previously depended on
exetest, update scripts and CI to usecmdtestinstead. - No API behavior change. Only the package name was changed to improve clarity.
v0.1.0 (Steady Echo)
What’s included:
- A small, ergonomic Zig library for testing CLI applications.
- Two simple, well-documented core functions:
add: register test binaries in a project'sbuild.zig.run: invoke and collect output of any installed executable from tests.
- A minimal example of Zig project that uses exetest: exetest-example
- Focus on performance and developer ergonomics so you can write fast, reproducible integration tests.
My goals:
- Makes integration testing command-line programs in Zig straightforward.
- Works with binaries produced by your
build.zigor any system-installed executable. - Keeps test harness code minimal and idiomatic for Zig projects.