mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 12:45:00 +00:00
copy
This commit is contained in:
parent
e1545b128a
commit
f7a951c4f2
1 changed files with 10 additions and 7 deletions
|
@ -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 <cmd>` switch.
|
||||
|
||||
You can run tests with `/test <test-command>`.
|
||||
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 <test-command>` and
|
||||
`--auto-test` switch.
|
||||
|
||||
|
||||
|
||||
## Compiled languages
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue