RegTest

From IFWiki

Revision as of 06:34, 6 March 2025 by Dannii (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RegTest
Utility
Test framework
[[File:|385px|center]]
Link Home page
Developer Andrew Plotkin
Format
Interaction style
System
System details
Latest version 1.12 / 3 Dec 2024
Status Stable
Implements GlkOte protocol
Uses


License Public domain
Notes
Browse the software database
Edit this infobox

RegTest is a test framework for parser IF. Written in Python, it allows you to create test scripts, automatically running story files with a series of instructions, and checking the output against the expected result or even using regular expressions. It can be used to test storyfiles, interpreters, or even to automate repetitive optimisation games like Sugarlawn.

By default it just uses the console stdin/stdout, and so is most ideally used with basic interpreters like those compiled with CheapGlk. But it also has a RemGlk mode which uses the GlkOte protocol, and so can be used to test any console program also using the protocol.

Utilities
Browse Stable utilitiesSearch formDrilldown
Other software Authoring systemsInterpreters