Skip to content

Test Framework #61

@KR155E

Description

@KR155E

Documenting a quick idea here for a framework for automated tests.

  • Allows to define any number of test cases
  • Each test consists of a sequence of button presses, waits and tests/checks
  • When you run a test, VES starts up the emulator (without user control) and sends the button presses to it
  • The test criteria could be to check certain values at certain offsets in RAM
  • Current emulator does not allow to access its inner state, so the only chance of testing on it would be screenshots and save data
  • Works primarily on an emulator, but could possibly (partially) work on a real Virtual Boy too by sending button presses through a BlueRetro adapter

-> Could/should possibly make use of the Tests API: https://code.visualstudio.com/api/references/vscode-api#tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions