tc - theodore calvin's testing framework 🚁
language-agnostic testing for unix hackers
theodore "tc" calvin - helicopter pilot, testing framework namesake, legend
|=o=o=o=o=o=o=o=o=o=o=o=| tc v1.0.0 - island hopper | testing any language, anywhere ___/ \___ (o) 🚁 fly safe, test well (( tc ))======\ \_______/ (o) ^ ^ ^-----------^
What: Language-agnostic test framework. Write tests once, run against any language (bash, python, rust, go, whatever).
How: Tests are directories. Your code reads input.json from stdin, writes expected.json to stdout. That's it.
Get Started:
# clone and install git clone https://github.com/ahoward/tc.git cd tc # IMPORTANT: Add to PATH (avoids conflict with Unix traffic control command) export PATH= " $PWD /tc/bin: $PATH " # verify tc --version # try the hello-world example tc examples/hello-world # create your first test tc new tests/my-feature
That's it. See full docs for advanced features.
... continue reading