Automated Testing

version 1/090116 by Roger Carbol

  • Home page
  • Beginning
  • Previous
  • Next

  • Chapter: Introduction

    Section: Introduction

    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, but this functionality should be useful to any author. In any case, the topic is somewhat beyond the scope of this document.