mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 20:25:01 +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
|
## Testing
|
||||||
|
|
||||||
You can configure aider to run your test suite
|
You can run tests with `/test <test-command>`.
|
||||||
after each time the AI edits your code
|
|
||||||
using the `--test-cmd <cmd>` switch.
|
|
||||||
|
|
||||||
Aider will run the test command without any arguments.
|
Aider will run the test command without any arguments.
|
||||||
If there are test errors, aider expects the
|
If there are test errors, aider expects the
|
||||||
command to print them on stdout/stderr
|
command to print them on stdout/stderr
|
||||||
and return a non-zero exit code.
|
and return a non-zero exit code.
|
||||||
This is how most test tools normally operate.
|
|
||||||
|
|
||||||
To have aider automatically run the test command,
|
Aider will try and fix any errors
|
||||||
use the `--auto-test` switch.
|
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
|
## Compiled languages
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue