Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

154 integration tests #155

Merged
merged 7 commits into from
Jul 13, 2024
Merged

154 integration tests #155

merged 7 commits into from
Jul 13, 2024

Conversation

skx
Copy link
Owner

@skx skx commented Jul 13, 2024

Borrowing the idea, but not the implementation, from iz-cpm , this pull-request closes #154 by adding integration tests.

That means:

  • We launch the CCP.
  • We send fake input to it.
  • We read back the output/replies.
  • And confirm they match expectations.

One of the tests plays the lighthouse of doom to completion, which is pretty awesome to see!

skx added 4 commits July 13, 2024 13:21
This commit adds a new console output driver, "logger", which saves
any written characters to memory.  It will be used in the integration
tests in the future.

This introduces a new interface "ConsoleRecorder" which the driver
implements - to allow it to be used at runtime.
Avoid the use of stuffed input for line-input; that is built on
single characters anyway..
@skx skx self-assigned this Jul 13, 2024
@skx skx merged commit 61bf02f into master Jul 13, 2024
2 checks passed
@skx skx deleted the 154-integration branch July 13, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add integration tests
1 participant