chanmix51 wrote:
...and I felt that in its actual state, Soft65C02 could do both: be an interactive debugger and a testing tool.
Yes, precisely!
Quote:
Since Soft65C02 has a CLI application that takes commands on the standard input, it is de facto a scriptable tool, I added the functions assert and memory write so now, I can write the following test cases in a text file...
I think that's a great start on getting testing going.
Quote:
Regarding unit tests for subroutines, the best way would be to directly use Soft65C02 library in Rust and use the tooling of the language.
Yup. That's pretty much exactly what I do in Python with py65.