theandrew168 / derzforth

Bare-metal Forth implementation for RISC-V
MIT License
42 stars 5 forks source link

How to effectively test the project #2

Open theandrew168 opened 3 years ago

theandrew168 commented 3 years ago

I've been thinking about how I could verify that DerzForth "works" and that new changes didn't break anything. I think there are a couple of routes:

  1. Find a simulator that works and abstract out the IO-specific portions
  2. Test on a real Longan Nano / Wio Lite and use something like pexpect to test commands / responses

Either way, having something in place to verify behavior will definitely pay itself off as new features / optimizations are introduced.