Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Framework #61

Open
KR155E opened this issue Feb 7, 2023 · 0 comments
Open

Test Framework #61

KR155E opened this issue Feb 7, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@KR155E
Copy link
Member

KR155E commented Feb 7, 2023

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

@KR155E KR155E added the enhancement New feature or request label Feb 7, 2023
@KR155E KR155E added this to the 2.0.0 milestone Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant