-
Notifications
You must be signed in to change notification settings - Fork 152
Expand file tree
/
Copy path.cursorrules
More file actions
25 lines (17 loc) · 784 Bytes
/
.cursorrules
File metadata and controls
25 lines (17 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## Development Environment
### Getting Started
**Important:** Run `nix develop` in every new terminal session to activate the development environment with all required dependencies and correct Python paths.
## Testing
### How to Run Tests
**For humans:**
- Run tests using pytest: `pytest` or `make test`
- The test configuration is in `pytest.ini`
- Tests are located in the `tests/` directory
**For AI assistants:**
- Use `nix develop -c pytest` to run tests in the Nix development environment
- Use `nix develop -c make test` to run tests via Makefile
- This ensures tests run in the correct environment with all dependencies
### Test Configuration
- Test paths: `tests/`
- Coverage reporting: enabled with `--cov=translate`
- Verbose output: `-vv` flag enabled by default