Flexible test runner for Nix code written in Go. https://nixtest.projects.tf
Find a file
2025-12-15 00:07:32 +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 docs: update nixmkdocs, use svg for logo and favicon, add module docs 2025-10-01 16:43:30 +02:00
internal chore: rename module to uppercase 2025-12-14 15:23:19 +01:00
lib docs: set _file so "declared in" works correctly 2025-10-01 19:42:30 +02:00
nix refactor: replace flake-parts, devenv etc. with rensa 2025-12-14 14:56:40 +01:00
snapshots refactor: replace flake-parts, devenv etc. with rensa 2025-12-14 14:56:40 +01:00
tests test: set SSL_CERT_FILE and NIX_SSL_CERT_FILE so test works in pure mode 2025-10-01 17:08:49 +02: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
flake.lock refactor: replace flake-parts, devenv etc. with rensa 2025-12-14 14:56:40 +01:00
flake.nix refactor: replace flake-parts, devenv etc. with rensa 2025-12-14 14:56:40 +01:00
go.mod fix(deps): update module github.com/spf13/pflag to v1.0.10 2025-12-15 00:07:32 +00:00
go.sum fix(deps): update module github.com/spf13/pflag to v1.0.10 2025-12-15 00:07:32 +00:00
LICENSE.md chore: add LICENSE 2025-06-03 21:45:50 +02:00
package.nix fix(deps): update module github.com/spf13/pflag to v1.0.10 2025-12-15 00:07:32 +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.