Skip to content

Releases: pyk/cmdtest

v0.2.0 (Crimson Compass)

07 Nov 04:39
@pyk pyk
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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 exetest to cmdtest.
  • Updated build outputs and package naming to match the new name.

Migration notes

  • Reinstall the cmdtest using 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 use cmdtest instead.
  • No API behavior change. Only the package name was changed to improve clarity.

v0.1.0 (Steady Echo)

06 Nov 16:13
@pyk pyk
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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's build.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.zig or any system-installed executable.
  • Keeps test harness code minimal and idiomatic for Zig projects.