Skip to content

fix: point make test to tests/ instead of src/test/#381

Open
abhishek-8081 wants to merge 1 commit intofireform-core:mainfrom
abhishek-8081:fix/makefile-test-path
Open

fix: point make test to tests/ instead of src/test/#381
abhishek-8081 wants to merge 1 commit intofireform-core:mainfrom
abhishek-8081:fix/makefile-test-path

Conversation

@abhishek-8081
Copy link
Copy Markdown

@abhishek-8081 abhishek-8081 commented Mar 30, 2026

What

Changed the make test target in the Makefile from src/test/ to tests/.

Why

make test was running pytest src/test/, which only contains test_model.py — a manual smoke test script with no assertions. The actual test suite (conftest.py, test_forms.py, test_templates.py) lives in the root tests/ directory and was being silently skipped.

Changes

 test:
-	docker compose exec app python3 -m pytest src/test/
+	docker compose exec app python3 -m pytest tests/

Testing

  • Verified tests/ contains the real pytest suite with fixtures and API test cases
  • Verified src/test/test_model.py has no pytest assertions (just print + try/except)

Fixes #380

redbbean added a commit to redbbean/FireForm that referenced this pull request Mar 31, 2026
implemented checkpointing/resuming pipeline:
- hash transcript + field names to avoid collisions from different transcripts
- atomic checkpoint writes to .tmp, then replacing previous checkpoint file
- handling for Ctrl+C using SIGINT
- retry loop for Ollama timeouts
- JSONL error logging for Ollama -1 responses

added docs required by issue fireform-core#131/fireform-core#133
have NOT added testing for the checkpointing yet

added import error resolution from issue fireform-core#116/fireform-core#117 and fireform-core#118/fireform-core#119
added updated Makefile test path from issue fireform-core#380/fireform-core#381

haven't completely closed fireform-core#131/fireform-core#133 yet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: make test runs src/test/ instead of tests/ — silently skips the real test suite

1 participant