You can get arbitrarily creative with it, too: cat script.rb | llm -s ‘This code is janky. Write some test cases for it, focusing particularly on validating the command line args and that it exits prior to calling the API if it detects an error.’ > test/script_test.rb
Generate test cases automatically with LLM prompt engineering
By
–