Skip to content

Commit 926bef6

Browse files
committed
Improve cursor rule detail
1 parent 4886e98 commit 926bef6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.cursor/rules/pytest.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ These rules apply when writing unit tests.
1414
- `tests/unit/` - for unit tests that test individual functions/classes in isolation
1515
- `tests/integration/` - for integration tests that test component interactions
1616
- `tests/e2e/` - for end-to-end tests that test complete workflows
17-
- `tests/test_pipelines/` - for test pipeline definitions (TOML files)
17+
- `tests/test_pipelines/` - for test pipeline definitions (TOML files and their structuring python files)
1818
- Fixtures are defined in conftest.py modules at different levels of the hierarchy, their scope is handled by pytest
1919
- Test data is placed inside test_data.py at different levels of the hierarchy, they must be imported with package paths from the root like `tests.pipelex.test_data`. Their content is all constants, regrouped inside classes to keep things tidy.
2020
- Always put test inside Test classes.

0 commit comments

Comments
 (0)