Skip to content

feat(tests): add unit and integration tests with pytest and GitHub Actions workflow#6

Merged
prlanzarin merged 1 commit intobigbluebutton:developmentfrom
prlanzarin:copilot/add-unit-integration-tests
Feb 28, 2026
Merged

feat(tests): add unit and integration tests with pytest and GitHub Actions workflow#6
prlanzarin merged 1 commit intobigbluebutton:developmentfrom
prlanzarin:copilot/add-unit-integration-tests

Conversation

@prlanzarin
Copy link
Copy Markdown
Member

  • feat(tests): add unit and integration tests with pytest and GitHub Actions workflow
    • Add a test suite for bbb-livekit-stt using pytest and pytest-asyncio as
      seen in other LK agents.
    • Unit tests offer a decent coverage of the application. While there's
      some dumb stuff there to guarantee coverage, it's beneficial in general.
    • The integration tests is mostly scaffolding for now. There's a silent
      stream test to guarantee that the E2E setup works, as well as the
      integration workflow. The idea is to extend it further with actual STT
      tests once the framework is in place.
    • CI:
      • unit-tests job: runs on every push/PR, no secrets required
      • integration-tests job: sets GLADIA_API_KEY from secret at job level,
        actual test step runs only when the env var is non-empty
      • Test coverage support both in-app and in actions/workflows. Workflows
        fail if coverage goes below 65%.

@prlanzarin prlanzarin force-pushed the copilot/add-unit-integration-tests branch 2 times, most recently from fa11830 to 6121a7b Compare February 28, 2026 04:21
…tions workflow

Add a test suite for bbb-livekitstt using pytest and pytest-asyncio as
seen in other LK agents.

Unit tests offer a decent coverage of the application. While there's
some dumb stuff there to guarantee coverage, it's beneficial in general.

The integration tests is mostly scaffolding for now. There's a silent
stream test to guarantee that the E2E setup works, as well as the
integration workflow. The idea is to extend it further with actual STT
tests once the framework is in place.

CI:
- unit-tests job: runs on every push/PR, no secrets required
- integration-tests job: sets GLADIA_API_KEY from secret at job level,
  actual test step runs only when the env var is non-empty
- Test coverage support both in-app and in actions/workflows. Workflows
  fail if coverage goes below 65%.
@prlanzarin prlanzarin force-pushed the copilot/add-unit-integration-tests branch from 6121a7b to fafb689 Compare February 28, 2026 04:22
@prlanzarin prlanzarin merged commit 8f8eb41 into bigbluebutton:development Feb 28, 2026
3 checks passed
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.

2 participants