Flexible test runner for Nix code written in Go. https://nixtest.projects.tf
Find a file
2026-05-03 15:15:59 +00:00
.gitlab refactor: replace flake-parts, devenv etc. with rensa 2025-12-14 14:56:40 +01:00
cmd/nixtest chore: rename module to uppercase 2025-12-14 15:23:19 +01:00
docs feat: add support for running NixOS VM tests more easily 2026-01-20 20:11:18 +01:00
internal chore: remove colored diff since its buggy anyways 2026-03-27 16:16:51 +01:00
lib fix(scriptHelpers): remove \n from echo & fix not_contains failing shell 2026-03-27 15:56:33 +01:00
nix chore: add devtools like cocogitto & lefthook 2026-04-02 14:40:27 +02:00
snapshots refactor: replace flake-parts, devenv etc. with rensa 2025-12-14 14:56:40 +01:00
tests feat: add support for running NixOS VM tests more easily 2026-01-20 20:11:18 +01:00
.envrc refactor: replace flake-parts, devenv etc. with rensa 2025-12-14 14:56:40 +01:00
.gitignore refactor: replace flake-parts, devenv etc. with rensa 2025-12-14 14:56:40 +01:00
.gitlab-ci.yml refactor: replace flake-parts, devenv etc. with rensa 2025-12-14 14:56:40 +01:00
CHANGELOG.md chore(version): v1.3.0 2026-04-02 14:41:23 +02:00
flake.lock chore(flakes): pin input versions/tags 2026-04-02 14:27:32 +02:00
flake.nix chore(flakes): pin input versions/tags 2026-04-02 14:27:32 +02:00
go.mod fix(deps): update module github.com/jedib0t/go-pretty/v6 to v6.7.10 2026-05-03 15:15:59 +00:00
go.sum fix(deps): update module github.com/jedib0t/go-pretty/v6 to v6.7.10 2026-05-03 15:15:59 +00:00
LICENSE.md chore: add LICENSE 2025-06-03 21:45:50 +02:00
package.nix fix(deps): update module github.com/rs/zerolog to v1.35.0 2026-03-27 22:23:35 +00:00
README.md fix(README): fix badge 2025-07-31 12:27:03 +02:00

Nixtest

built with nix pipeline status License: MIT Latest Release Support me Docs

Flexible test runner for testing Nix code, written in Go.

asciicast

Features

  • Snapshot, Unit (equal checks) and Script-Tests (unit tests with assertions you could say)
  • Supports testing against raw Nix code or derivation output
  • Simple and easy to read summary of test results screenshot
  • Junit report support (eg. for displaying the results in GitLab etc.) screenshot

Usage

See the docs.