All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

tc: A Language-Agnostic Testing Framework for Unix-Style Development

By

mooreds

5mo ago· 3 min readenCode

Summary

tc is a language-agnostic testing framework designed for Unix-style development workflows. It allows developers to write tests once and run them against any programming language (bash, Python, Rust, Go, etc.). The framework uses a simple directory-based approach where tests read input.json from stdin and write expected.json to stdout. The tool is named after Theodore 'tc' Calvin, a helicopter pilot and legend. The article provides setup instructions, including PATH configuration to avoid conflicts with the Unix traffic control command, and offers documentation for advanced features.

Key quotes

· 4 pulled
tc is a language-agnostic test framework. Write tests once, run against any language (bash, python, rust, go, whatever).
Tests are directories. Your code reads input.json from stdin, writes expected.json to stdout. That's it.
tc conflicts with the Unix traffic control command. You MUST add this project's tc to your PATH.
theodore 'tc' calvin - helicopter pilot, testing framework namesake, legend
Snippet from the RSS feed
tc - theodore calvin's language-agnostic testing framework 🚁 | simple, portable, unix-style testing for any language - ahoward/tc

You might also wanna read