nixtest/README.md

26 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2025-06-02 13:34:59 +02:00
# Nixtest
[![built with nix](https://img.shields.io/static/v1?logo=nixos&logoColor=white&label=&message=Built%20with%20Nix&color=41439a)](https://builtwithnix.org)
[![pipeline status](https://gitlab.com/TECHNOFAB/nixtest/badges/main/pipeline.svg)](https://gitlab.com/TECHNOFAB/nixtest/-/commits/main)
2025-07-30 21:29:16 +02:00
![License: MIT](https://img.shields.io/gitlab/license/technofab/nixtest)
2025-06-02 13:34:59 +02:00
[![Latest Release](https://gitlab.com/TECHNOFAB/nixtest/-/badges/release.svg)](https://gitlab.com/TECHNOFAB/nixtest/-/releases)
[![Support me](https://img.shields.io/badge/Support-me-green)](https://tec.tf/#support)
[![Docs](https://img.shields.io/badge/Read-Docs-green)](https://nixtest.projects.tf)
Flexible test runner for testing Nix code, written in Go.
2025-06-08 20:52:20 +02:00
[![asciicast](https://asciinema.org/a/VS8uIiEQiPRtXbOreJqrxO7X6.svg)](https://asciinema.org/a/VS8uIiEQiPRtXbOreJqrxO7X6)
2025-06-02 13:34:59 +02:00
## 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
2025-06-08 20:52:20 +02:00
![screenshot](./docs/images/summary_screenshot.png)
2025-06-02 13:34:59 +02:00
- Junit report support (eg. for displaying the results in GitLab etc.)
2025-06-08 20:52:20 +02:00
![screenshot](./docs/images/gitlab_junit_screenshot.png)
2025-06-02 13:34:59 +02:00
## Usage
See the [docs](https://nixtest.projects.tf/usage).