TX-2 / TX-2-simulator

Simulator for the pioneering TX-2 computer
https://tx-2.github.io/
MIT License
21 stars 2 forks source link

Set up unit test infrastructure #91

Closed jamesyoungman closed 1 year ago

jamesyoungman commented 2 years ago

Right now there are lots of tests in the Rust code and none in the TypeScript code. We don't have an unit testing infrastructure set up.

We need it, as he TypeScript code continues to grow in size and complexity.

This FR isn't asking for the writing of unit tests, just setting up the machinery to run them:

  1. During development
  2. From GitHub actions for PRs and pushes.
jamesyoungman commented 1 year ago

This is done now. Github actions cause tests to be run from pull requests (or after pushes to main). The tests can also be run locally.