Skip to content

plugin stability > It would be nice to have both unit and regression tests #32

@MC-Deedle

Description

@MC-Deedle

plugin version: 1.0.10
BMS Version NA

Issue Description:
Given that practical testing would seem to be minimal and evidence not required for merging, the complexity and amount of functionality of the plugin, that there have been some regressions lately (ie button memory address exports) and issues such as button transformations being incompatible with 3dButton.dat file, I would like to suggest the integration of automated unit/regression tests.

These tests would ideally:

  • be run prior to creating a PR
  • could be integrated into the build pipeline
  • be transferable between any refactor with minimal changes
  • form part of the documentation and plugin specification

Scope:
Provide a POC feature branch that:

  1. includes a common unit testing framework. Pytest seems to be a good candidate but open to suggestions.
  2. includes an example of a unit test
  3. includes an example of a broader automated regression test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions