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. ⚠️ PATH Setup (avoid Unix tc conflict) tc conflicts with the Unix traffic control command. You MUST add this project's tc to your PATH. # Add to PATH for current session export PATH= " $PWD /tc/bin: $PATH " # Add to shell config for persistence (optional) echo ' export PATH="$PWD/tc/bin:$PATH" ' >> ~ /.bashrc # or ~/.zshrc Verify: which tc # should show: ./tc/bin/tc (NOT /usr/sbin/tc) tc --version # should show: tc v1.0.0 - island hopper what is tc? tc is a dead-simple testing framework that lets you: test any language with the same test suite organize tests as directories with json input/output run tests with zero dependencies (just jq) port code between languages without rewriting tests philosophy simple • portable • language-agnostic • unix • spec-driven 🤖 In the AI age, specifications and tests are permanent while implementations are disposable. Tests are the spec. Code is a build artifact. Port languages freely, keep tests forever. 🔬 experimental: multi-language dao demo See projects/ and examples/multi-lang-dao/ for a working example of identical D...
First seen: 2025-12-22 22:36
Last seen: 2025-12-23 07:37