Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update test guidelines in AGENTS.md (#18921)

Lukasz Ostrowskif1251ba10ca1
diff --git a/AGENTS.md b/AGENTS.md
index 38345873f2..2ab8821352 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -30,7 +30,7 @@
- When asserting GraphQL errors, assert error message too
- When asserting to Enum, import enum in a test file and use `assert error.code == MyEnum.SOME_ERROR.name` instead plain string comparison
- Avoid assertion to plain values, if you already have references to existing value. For example, when you create entity in database and assert if entity is returned in response, compare response fields with entity fields, instead plain values.
--
+- Do not write unnecessary prefix to test names. If file name is `test_my_mutation.py`, do not write `test_my_mutation_with_x_y` but `test_with_x_y`
# Concurrency and Thread Safety