Skip to content

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

Add agents.md (#18193)

Lukasz Ostrowskidd097cb7db8f
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000000..a996a323f7
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,17 @@
+# AGENTS.md
+
+# Testing
+
+## Running tests
+
+- Run tests using `pytest`
+- Attach `--reuse-db` argument to speed up tests by reusing the test database
+- Select tests to run by passing test file path as an argument
+- Enter virtual environment before executing tests
+
+## Writing tests
+
+- Use given/when/then structure for clarity
+- Use `pytest` fixtures for setup and teardown
+- Declare test suites flat in file. Do not wrapp in classes
+- Prefer using fixtures over mocking. Fixtures are usually within directory "tests/fixtures" and are functions decorated with`@pytest.fixture`
diff --git a/CLAUDE.md b/CLAUDE.md
index 22a28e5b0a..43c994c2d3 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -1,14 +1 @@
-# Testing
-
-## Running tests
-
-- Run tests using `pytest`
-- Attach `--reuse-db` argument to speed up tests by reusing the test database
-- Select tests to run by passing test file path as an argument
-- Enter virtual environment before executing tests
-
-## Writing tests
-
-- Use given/when/then structure for clarity
-- Use `pytest` fixtures for setup and teardown
-- Declare test suites flat in file. Do not wrapp in classes