From 36155a42a809e8a3f9945240c915922018c79418 Mon Sep 17 00:00:00 2001 From: hmn Date: Sun, 4 Oct 2026 11:45:51 +0200 Subject: [PATCH] add tainted bash test frameworks, add alternatives (#1672) ### Description of Changes adds tainted bash testing frameworks, adds alternatives * add tainted: bashunit, bats, shunit2 * add alternative: bash_unit, best, shellspec Reviewed-on: https://codeberg.org/ethical-foss/open-slopware/pulls/1672 Reviewed-by: Ethical FOSS admin --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 153ccbd6..9f21be6a 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,7 @@ Any other questions? Please check out our [FAQ](./FAQ.md), and if your question * [Imperative Programming Languages](#imperative-programming-languages) * [Programming Language-Specific Tools and Libraries](#programming-language-specific-tools-and-libraries) * [Bash](#bash) + * [Bash Testing Framework Alternatives](#bash-testing-framework-alternatives) * [C](#c) * [Alternatives](#alternatives) * [Cryptography, SSL and TLS Libraries](#cryptography-ssl-and-tls-libraries) @@ -2259,9 +2260,19 @@ A desktop environment usually depends on a specific window manager to work. ## Programming Language-Specific Tools and Libraries ### Bash -| Name | Last Untainted Version or Commit ID | Tags and Evidence |Alternative(s) | + +| Name | Last Untainted
Version/Commit ID | Evidence | Alternative(s) | |---|:---:|---|---| +| [bashunit](https://github.com/TypedDevs/bashunit) | [`0.19.1`](https://github.com/TypedDevs/bashunit/releases/tag/0.19.1)
[`02794c4`](https://github.com/TypedDevs/bashunit/commits/02794c43b6da2fc1d5cbe76d3e1cc71561457d53) | [![AI Functionality](./badges/ai-functionality.svg)](#ai-functionality) ([1](https://github.com/TypedDevs/bashunit/blob/main/docs/ai-agents.md))
[![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](#permissive-ai-policy) ([1](https://github.com/TypedDevs/bashunit/blob/main/.claude/CLAUDE.md), [2](https://github.com/TypedDevs/bashunit/pull/401), [3](https://github.com/TypedDevs/bashunit/blob/main/.claude/skills/commit/SKILL.md?plain=1#L51-L56))
[![AI Code Reviews](./badges/ai-code-reviews-purple.svg)](#ai-code-reviews) ([1](https://github.com/TypedDevs/bashunit/blob/main/.claude/skills/review/SKILL.md), [2](https://github.com/TypedDevs/bashunit/pull/508#event-20509107787))
[![AI In Issue Tracker](./badges/ai-in-issue-tracker-teel.svg)](#ai-in-issue-tracker) ([1](https://github.com/TypedDevs/bashunit/blob/main/.claude/skills/gh-issues/SKILL.md)) | See below | +| [Bats](https://github.com/bats-core/bats-core) | [`v1.14.0`](https://github.com/bats-core/bats-core/releases/tag/v1.14.0)
[`d22e41f`](https://github.com/bats-core/bats-core/commits/d22e41faad59f5fd942a88c992b4913a27a460c4) | [![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](#permissive-ai-policy) ([1](https://github.com/bats-core/bats-core/commit/2dd6ab7335d0602c666c94b3e92053b20881cb63), [2](https://github.com/bats-core/bats-core/commit/d2e5fc7bcc425664b6c6a0d27f8e9c16f9fe4fda), [3](https://github.com/bats-core/bats-core/pull/1250#issue-5433824006)) | See below | | [shellcheck](https://github.com/koalaman/shellcheck) | [`1b59697`](https://github.com/koalaman/shellcheck/commit/1b59697528185ab3d8261cb26a7f9a6576d0b188) | [![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](#permissive-ai-policy) ([1](https://github.com/koalaman/shellcheck/blob/master/.claude/CLAUDE.md)) | [![Request for Help](./badges/request-for-help.svg)](#request-for-help) | +| [shUnit2](https://github.com/kward/shunit2) | [`1eb1409`](https://github.com/kward/shunit2/commits/1eb14098950bd6f03d0cae27edd14e7a97d19412) | [![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](#permissive-ai-policy) ([1](https://github.com/kward/shunit2/blob/master/AGENTS.md)) | See below | + +> [!NOTE] +> #### Bash Testing Framework Alternatives +> * [bash_unit](https://github.com/bash-unit/bash_unit) +> * [Best](https://codeberg.org/paulshryock/best) [![Anti-AI Policy](./badges/anti-ai-policy.svg)](#anti-ai-policy) ([1](https://codeberg.org/paulshryock/best/src/branch/main/README.md#strict-no-llm-no-ai-policy)) +> * [ShellSpec](https://github.com/shellspec/shellspec) BDD testing framework with its own DSL ### C