Automated Testing
Automated Testing | |
---|---|
![]() | |
Author(s) | Roger Carbol |
Publisher(s) | n/a |
Release date(s) | 26-Oct-2010 |
Authoring system | Inform 7 |
Platform(s) | Glulx |
Language(s) | English |
License(s) | Freeware |
Multimedia | |
Color effects | optional |
Graphics | none |
Sound/Music | none |
Ratings | |
Cruelty scale | Cruelty to be determined |
What It Does
Allows the author to create and run automated tests, which could be used for test-driven development.
Notable Features
Automated Testing allows the author to create and run automated tests.
The test scripts are stored as rows of tables that belong to test objects. These scripts specify a number of parser commands, such as "examine me", and the corresponding response expected from the game, such as "As good-looking as ever."
They are automated in that the author can quickly execute all defined test scripts and receive a report on which passed and which failed. The virtual machine is restarted between tests.
This sort of automated testing could be used for test-driven development.
Code Sample
- Verify Player Description is a test.
- The index of Verify Player Description is 1.
- The steps of Verify Player Description is the Table of Steps for Verify Player Description.
- Table of Steps for Verify Player Description
- order command response
- 1 "examine me" "^As good\-looking as ever\.\n\n$"
- 2 "x myself" "^As good\-looking as ever\.\n\n$"
Versions
Release 1
- Automated Testing (Roger Carbol; 26-Oct-2010; Glulx).
- Release 1 / Serial number 090116
This section is a stub. You can help by adding to it.
Links
Download
>examine page
The dreadful truth is, this page is incomplete.
Notable Features, full version info.
Please refer to the IFWiki game page style guide when making changes.