In my Linux terminal, I type “ai-test” followed by the name of a Bash, PHP, or Python file (like “ai-test main.py”), and a connection is established to #Ollama; I provide it with the specified script and ask it to generate unit tests (which everyone knows is mandatory, but who actually writes them?)
ai-test: Generate Missing Unit Tests From Your Terminal With a Local LLM | Christophe Avonture
Turn your local Ollama model into an on-demand unit test generator. A zsh function that reads a Bash, PHP or Python file, detects whether you already have tests for it, prints only the missing Bats/Pe...
avonture.be