wiki:Writing_tests_for_OpenGuides

Testing in general

Tests for OpenGuides

OpenGuides::Test might come in handy. You can use it:

  • to set up a basic config file (pointing at a SQLite database in the t/ directory) without having to specify every last option, and
  • to write data to a node without having to care about checking the checksum, and without having uninitialised value warnings spat at you for all the fields you wanted to leave blank.
Last modified 10 years ago Last modified on Mar 10, 2007, 3:43:07 PM