cai/tests
Ameer Pornillos 5d892a9267 Added additional prompt injections PoCs 15 and 16 (#276)
* Added prompt injections PoCs

* Mitigate PoCs 15 and 16

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>

---------

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
Co-authored-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
2025-10-08 16:23:59 +02:00
..
agents
…
cli
…
commands
…
core
…
mcp
…
others
…
tools
…
tracing
…
voice
…
README.md
…
__init__.py
…
conftest.py
…
conftest_pricing.py
…
fake_model.py
…
helpers.py
…
test_cli_print_deduplication.py
…
test_compact_command.py
…
test_pricing.py
…
test_unified_pattern.py
…
testing_processor.py
…

README.md

Tests

Before running any tests, make sure you have uv installed (and ideally run make sync after).

Running tests

make tests

Snapshots

We use inline-snapshots for some tests. If your code adds new snapshot tests or breaks existing ones, you can fix/create them. After fixing/creating snapshots, run make tests again to verify the tests pass.

Fixing snapshots

make snapshots-fix

Creating snapshots

make snapshots-update