You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initialize development environment and testing configuration with Nix; add flake.lock and flake.nix for dependency management; update Makefile for pip installation options.
**Important:** Run `nix develop` in every new terminal session to activate the development environment with all required dependencies and correct Python paths.
6
+
7
+
## Testing
8
+
9
+
### How to Run Tests
10
+
11
+
**For humans:**
12
+
- Run tests using pytest: `pytest` or `make test`
13
+
- The test configuration is in `pytest.ini`
14
+
- Tests are located in the `tests/` directory
15
+
16
+
**For AI assistants:**
17
+
- Use `nix develop -c pytest` to run tests in the Nix development environment
18
+
- Use `nix develop -c make test` to run tests via Makefile
19
+
- This ensures tests run in the correct environment with all dependencies
20
+
21
+
### Test Configuration
22
+
- Test paths: `tests/`
23
+
- Coverage reporting: enabled with `--cov=translate`
0 commit comments