Elektrine lite

← Feed

@paulshryock@phpc.social

Post #3960857

2026-07-20 13:41 UTC

Over the weekend I started developing "Best", a Bash testing framework with a focus on simplicity. The API and the terminal output are both heavily influenced by Jest and Pest. I will host the source code on Codeberg, and I'll be looking for anyone interested in trying it out and providing feedback. #TestDrivenDevelopment #TDD #Bash

Replies (2)

  • @paulshryock@phpc.social 2026-07-20 13:45

    I'm still working out the API, but so far I have functions like "describe", "it", and "expect". Under the hood, "it" calls functions like "pass" or "fail" based on the outcome from "expect". "describe" groups tests together with a description and indents the terminal output.

    Open ##3961016

  • @paulshryock@phpc.social 2026-07-29 17:17

    Best v0.0.6 is now available to install via Homebrew! Installation instructions: https://codeberg.org/paulshryock/best Best is a Bash testing framework with a focus on simplicity, influenced by Jest and Pest. - Familiar API - Bash-native, no dependencies - No ads, no tracking, no telemetry, no "AI" If you try it out, let me know what you think. I'm still iterating on the API and it will likely change quite a bit. I will also be building out many more assertions similar to Jest and Pest.

    Open ##4206046