bats
testy
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bats
-
I wrote an MVP testing library in Bash to make it as easy as possible to add test suites for commandline-driven tools
Good stuff. I like the syntax more than BATS.
-
Looking for tools to help smoke test kubernetes clusters
Bats
-
Best bash frameworks/addons
https://github.com/sstephenson/bats (testing)
-
testy: a unit-test running script written in bash
Just a quick question: are you aware of https://github.com/sstephenson/bats ?
-
Bats command
Bats: Bash Automated Testing System : "A Bats test file is a Bash script with special syntax for defining test cases. Under the hood, each test case is just a function with a description."
-
Super lightweight approach to unit testing in Bash
There is already a good, recognised testing framework for Bash.
testy
-
Russ Cox: Go Testing by Example
Agreed with most of this but I’m skeptical of the rsc.io/script dsl approach. I’ll try it, though, because Russ is often right.
shameless advert: do you wish testify was implemented with generics and go-cmp, and had a more understandable surface area? Check out my small zero-dep library, Testy https://github.com/peterldowns/testy
shameless advert: do you want to write tests against your postgres database, but each new test adds seconds to your test suite? Check out pgtestdb, the marginal cost of each test is measured in tens of milliseconds, and each test gets a unique and isolated postgres instance — with all your migrations applied. https://github.com/peterldowns/pgtestdb
- Show HN: Testy, a better Golang testing library
-
Ask HN: What's your favorite software testing framework and why?
Finished, take a look if you're curious --
https://github.com/peterldowns/testy
What are some alternatives?
testkube - ☸️ Kubernetes-native Test Execution and Orchestration framework. It runs all types of tests, including Load Testing, End To End Testing, Front End, API Testing, etc... Integrates directly with you testing stack (K6, Postman, Playwright, Cypress,..)
jsverify - Write powerful and concise tests. Property-based testing for JavaScript. Like QuickCheck.
goss - Quick and Easy server testing/validation
tricorder - Automation the KISS way
ShellCheck - ShellCheck, a static analysis tool for shell scripts
embedded-postgres - Java embedded PostgreSQL component for testing
e2e-framework - A Go framework for end-to-end testing of components running in Kubernetes clusters.
greenlight - Clojure integration testing framework
argbash - Bash argument parsing code generator
LazySmallCheck2012 - Lazy SmallCheck with functional values and existentials!
k-bench - Workload Benchmark for Kubernetes
hitchstory - Type-safe YAML integration tests. Tests that write your docs. Tests that rewrite themselves.