gemini -p 'Write unit tests for @src/auth.py and save them to tests/test_auth.py'

Category: Gemini CLI

gemini -p 'Write unit tests for @src/auth.py and save them to tests/test_auth.py'

Generate a new test file based on an existing source file using Gemini CLI

Asks Gemini to generate a new test file based on an existing source file and save it to a specific path.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.