RegTest: Difference between revisions
From IFWiki
(Created page with "{{Software infobox |Type=Utility |Utility description=Test framework |Developer=Andrew Plotkin |Implements=GlkOte protocol |Home page=https://eblong.com/zarf/plotex/regtest.html |Version=1.2 |Date=2024/12/03 |Status=Stable |License=Public domain }} '''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...") |
No edit summary |
||
Line 5: | Line 5: | ||
|Implements=GlkOte protocol | |Implements=GlkOte protocol | ||
|Home page=https://eblong.com/zarf/plotex/regtest.html | |Home page=https://eblong.com/zarf/plotex/regtest.html | ||
|Version=1. | |Version=1.12 | ||
|Date=2024/12/03 | |Date=2024/12/03 | ||
|Status=Stable | |Status=Stable |
Latest revision as of 06:34, 6 March 2025
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 |