wiki:Writing_tests_for_OpenGuides

Version 4 (modified by Kake, 15 years ago) (diff)

Point out the existence of OpenGuides::Test.

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.