Skip to content

add unit tests for API#27

Open
MayNiklas wants to merge 6 commits intomainfrom
add-api-unittest
Open

add unit tests for API#27
MayNiklas wants to merge 6 commits intomainfrom
add-api-unittest

Conversation

@MayNiklas
Copy link
Copy Markdown
Owner

No description provided.

…nt coverage

- Use find_free_port() instead of hardcoded port 10291
- Reference test audio file via Path(__file__) to avoid cwd-dependency
- Add setUpClass server readiness check with timeout
- Add tearDownClass with graceful terminate/kill cleanup
- Add tests for version, invalid task_id, non-audio file upload, translate
- Refactor stability test to use subTest for per-run failure attribution
- Extract _run_transcription_and_wait() helper with configurable endpoint
- Fix do_test() docstring to accurately describe skip-by-default behaviour
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.

1 participant