Skip to content

Commit 84e8014

Browse files
Move scripts to tools/scripts to mark as internal developer tooling
Keeps examples/ as the only user-facing reference at the repo root; groups manual-testing scripts under tools/ alongside other dev tooling. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent c8e3c0b commit 84e8014

11 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎tests/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Automated test suite for the COMcheck API Python client using pytest.
44

5-
For ad-hoc manual testing during development, see the [scripts/](../scripts/) directory.
5+
For ad-hoc manual testing during development, see the [tools/scripts/](../tools/scripts/) directory.
66

77
## Directory Structure
88

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
Manual testing scripts for ad-hoc development and debugging of the COMcheck API client. Use these for quick, interactive testing when adding new features or investigating API behavior.
44

5-
For automated tests with assertions, see the [tests/](../tests/) directory.
5+
For automated tests with assertions, see the [tests/](../../tests/) directory.
66

77
## Directory Structure
88

99
```
10-
scripts/
10+
tools/scripts/
1111
├── README.md
1212
├── main.py # Script runner (runs all *_script.py files)
1313
├── script_test_data.py # Shared test data (envelope, building area)
@@ -29,22 +29,22 @@ scripts/
2929
Run all scripts:
3030

3131
```bash
32-
python scripts/main.py
32+
python tools/scripts/main.py
3333
```
3434

3535
Run a single script:
3636

3737
```bash
38-
python scripts/comcheck_client_tests/user_function_script.py
39-
python scripts/comcheck_client_tests/simulation_script.py
40-
python scripts/project_operations_tests/building_area_operations_script.py
41-
python scripts/project_operations_tests/envelope_operations_script.py
38+
python tools/scripts/comcheck_client_tests/user_function_script.py
39+
python tools/scripts/comcheck_client_tests/simulation_script.py
40+
python tools/scripts/project_operations_tests/building_area_operations_script.py
41+
python tools/scripts/project_operations_tests/envelope_operations_script.py
4242
```
4343

4444
Some scripts support running individual tests by number:
4545

4646
```bash
47-
python scripts/project_operations_tests/envelope_operations_script.py 3
47+
python tools/scripts/project_operations_tests/envelope_operations_script.py 3
4848
```
4949

5050
## Output
@@ -53,9 +53,9 @@ Scripts export JSON results to a `testProjectJson/` directory for manual inspect
5353

5454
## Scripts vs Tests
5555

56-
| | `scripts/` | `tests/` |
56+
| | `tools/scripts/` | `tests/` |
5757
|---|---|---|
5858
| **Purpose** | Ad-hoc manual testing during development | Automated tests with assertions |
5959
| **When to use** | Exploring API behavior, debugging, adding new features | Validating correctness, CI, regression testing |
6060
| **Output** | Prints and JSON files for manual inspection | Pass/fail via pytest |
61-
| **Runner** | `python scripts/main.py` or run individually | `pytest` |
61+
| **Runner** | `python tools/scripts/main.py` or run individually | `pytest` |
File renamed without changes.

scripts/comcheck_client_tests/simulation_script.py renamed to tools/scripts/comcheck_client_tests/simulation_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import os
55
import sys
66

7-
from scripts.script_test_data import TEST_BUILDING_AREA, TEST_PROJECT_ENVELOPE
7+
from tools.scripts.script_test_data import TEST_BUILDING_AREA, TEST_PROJECT_ENVELOPE
88

99
# Add comcheck_api to path for imports
1010
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))

scripts/comcheck_client_tests/user_function_script.py renamed to tools/scripts/comcheck_client_tests/user_function_script.py

File renamed without changes.

scripts/main.py renamed to tools/scripts/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from pathlib import Path
33

44

5-
def run_scripts(base_dir: str = "scripts"):
5+
def run_scripts(base_dir: str = "tools/scripts"):
66
base_path = Path(base_dir)
77

88
if not base_path.exists():
File renamed without changes.

scripts/project_operations_tests/building_area_operations_script.py renamed to tools/scripts/project_operations_tests/building_area_operations_script.py

File renamed without changes.

scripts/project_operations_tests/envelope_operations_script.py renamed to tools/scripts/project_operations_tests/envelope_operations_script.py

File renamed without changes.

0 commit comments

Comments
 (0)