Commit 382623e
committed
feat: add comprehensive test suite
This commit introduces a comprehensive test suite for the Python Code Harmonizer, making it production-ready.
The project has been restructured into a standard Python package with a pyproject.toml file, and the main application has been refactored into a runnable console script accessible via the `harmonizer` command.
A new `tests/` directory contains:
- `test_engine.py`: Unit tests for the core semantic engine.
- `test_parser.py`: Unit tests for the AST parser.
- `test_harmonizer.py`: An integration test for the main application.
The `.gitignore` file has also been updated to exclude build artifacts like `*.egg-info/`.1 parent 356d344 commit 382623e
File tree
8 files changed
+506
-178
lines changed- src
- harmonizer
- tests
8 files changed
+506
-178
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
196 | 201 | | |
197 | 202 | | |
198 | 203 | | |
| |||
0 commit comments