Skip to content

test: Implemented initial tests for plugin#87

Merged
antobinary merged 2 commits into
bigbluebutton:v0.0.xfrom
GuiLeme:automated-test-implementation
Apr 28, 2026
Merged

test: Implemented initial tests for plugin#87
antobinary merged 2 commits into
bigbluebutton:v0.0.xfrom
GuiLeme:automated-test-implementation

Conversation

@GuiLeme
Copy link
Copy Markdown
Collaborator

@GuiLeme GuiLeme commented Apr 13, 2026

What does this PR do?

It implements a series of tests for pick-random-user. The strategy used is pretty simple, we'll use 3 different types of tests (for now):

  • Structural tests (To make sure everything is rendered in the correct place);
  • Behavioral tests:
    • For one user - Test if the plugin works as expected for moderator alone;
    • For multiple users (In this first case - 1 moderator and 1 attendee) - to really test some of the main functionalities like pick user, re-pick user, etc.

Those 3 types of tests will be done in a single meeting session each (and because of that 3 different workers each).

Motivation

2 main reasons we're implementing end-to-end testing:

  • keep behavior after dependency update (npm audit fix --force, for example);
  • keep behavior after refactor;

More

There are plenty of documentation to execute the tests in the tests readme, so I invite the reviewer and any other interested party to take a look and provide feedback, if needed.

@antobinary antobinary merged commit 8469b0c into bigbluebutton:v0.0.x Apr 28, 2026
5 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.

3 participants