diff --git a/aider/website/docs/usage/lint-test.md b/aider/website/docs/usage/lint-test.md index a9823dc9b..4c18baf8e 100644 --- a/aider/website/docs/usage/lint-test.md +++ b/aider/website/docs/usage/lint-test.md @@ -31,18 +31,21 @@ You can disable this with the `--no-auto-lint` switch. ## Testing -You can configure aider to run your test suite -after each time the AI edits your code -using the `--test-cmd ` switch. - +You can run tests with `/test `. Aider will run the test command without any arguments. If there are test errors, aider expects the command to print them on stdout/stderr and return a non-zero exit code. -This is how most test tools normally operate. -To have aider automatically run the test command, -use the `--auto-test` switch. +Aider will try and fix any errors +if the command returns a non-zero exit code. + +You can configure aider to run your test suite +after each time the AI edits your code +using the `--test-cmd ` and +`--auto-test` switch. + + ## Compiled languages