Dart Test Format

From Biowiki
Revision as of 23:42, 1 January 2017 by Move page script (talk | contribs) (Move page script moved page DartTestFormat to Dart Test Format: Rename from TWiki to MediaWiki style)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DART test format

  • Tests are in the t/ subdirectory of source directories
  • Tests are handled by the common makefile and by a test harness perl script
  • Anything in the t/ subdirectory with the extensions .c, .cc or .pl is considered to be a test
  • The .c and .cc files are compiled to executables
  • All executables (including .pl files, as well as the compiled .c and .cc files) are then run
  • Executables should print ok on standard output if the test passes, and not ok if it fails
  • The test harness requires all tests to pass

-- Ian Holmes, 19 March 2005