add a section on running tests on the project

This commit is contained in:
stupidcomputer 2024-06-16 20:14:49 -05:00
parent e8da284365
commit 0d73e80c59
1 changed files with 9 additions and 0 deletions

View File

@ -48,6 +48,15 @@ In general: *embed the intelligence into the machine code, **not** the CPU/ISA!*
- [x] Simplify the synchronization stack. - [x] Simplify the synchronization stack.
- [ ] Write documentation for all of this. - [ ] Write documentation for all of this.
## Running tests
- Enter the nix-shell, then start a web browser.
- Navigate to `https://desmos.com/calculator`, and open the dev console
- Run `python3 -m cli sync -c` to copy the userscript to your clipboard
- Run the userscript in the console
- Run `python3 -m unittest ./cli/tests/isa.py`, or other test groups if needed
- Keep the Desmos tab focused, as it may impede the ISA testing process
## License ## License
This project is licensed under the AGPLv3. See the `LICENSE` file for more information. This project is licensed under the AGPLv3. See the `LICENSE` file for more information.