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

Feature test suite #3

Open
bignose-debian opened this issue May 16, 2018 · 2 comments
Open

Feature test suite #3

bignose-debian opened this issue May 16, 2018 · 2 comments

Comments

@bignose-debian
Copy link

What is a good feature test suite for Xyppy, to ensure that changing the code doesn't introduce bugs?

@theinternetftw
Copy link
Owner

I've entertained the idea of building a regression checker that plays games and checks its output against pre-recorded output (full transcripts for local checks, or a hash for anyone who pulls the repo).

That'd at least be a start, and it helps that it actually sounds interesting to me.

If I've misread you and you're wondering about decent pre-existing z-machine test suites to test against, I've already been using (though not in an automated fashion) etude.z5, praxix.z5, czech.z5, and strictz.z5. You can find them in the z-machine spec itself under testing compliance. Note that they're insufficient and you'd better run through a million games as well. Certainly helps though, and being able to auto-test against them (as well as others) as you code would pretty much be the idea of the above checker.

@deckaddict
Copy link

Sounds like something that Texttest can be used for.

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

No branches or pull requests

3 participants