Skip to content

Comments

Adding solved plugin tests and automated tests#24

Merged
lalmulai merged 1 commit intomainfrom
solve-testing
Oct 11, 2025
Merged

Adding solved plugin tests and automated tests#24
lalmulai merged 1 commit intomainfrom
solve-testing

Conversation

@lalmulai
Copy link

Implements Solved Plugin JSDOM automated tests. Feature developed as part of the assigned task for PR #15 .

Purpose:
The tests verify that the Solved Plugin functions correctly within a JSDOM environment without interfering with other forum functionality.
They ensure that:

  • The Solved Plugin initializes correctly and registers all necessary hooks.
  • Badge functions exist and can toggle as expected.
  • DOM elements for solved posts are properly manipulated.
  • The plugin does not break other page functionality when loaded.

Test File:
test/solved-plugin.test.js contains the automated test cases.

@lalmulai lalmulai added documentation Improvements or additions to documentation testing labels Oct 11, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 18431323583

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 65.254%

Totals Coverage Status
Change from base Build 18430828788: 0.0%
Covered Lines: 54
Relevant Lines: 71

💛 - Coveralls

@lalmulai lalmulai marked this pull request as ready for review October 11, 2025 15:36
@lalmulai lalmulai merged commit a238c9f into main Oct 11, 2025
2 checks passed
@lalmulai lalmulai deleted the solve-testing branch October 11, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants