RegTest
From IFWiki
RegTest | |
---|---|
Utility | |
Test framework | |
Link | Home page |
Developer | Andrew Plotkin |
Latest version | 1.12 / 3 Dec 2024 |
Status | Stable |
Implements | GlkOte protocol |
License | Public domain |
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 utilities • Search form • Drilldown |
Other software | Authoring systems • Interpreters |