rustzx / rustzx

ZX Spectrum emulator written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create framework for rustzx integration test

pacmancoder opened this issue · comments

It is required to develop some kind of mock emulator implementation, which will allow performing emulation for a determined amount of time and send some emulator events (e.g key, joy) along the way.

It should also allow comparing emulator state in accessible formats - snapshots(sna), screenshots (bitmap), sound streams (wave) for the possibility of manual inspection / debug.

Mock emulator should be implemented as a module inside tests integration tests directory

Also, I think it is wise to use zip to store test assets and expected results in the repository