Test

From OdaWiki
Revision as of 14:07, 5 May 2008 by Voxel (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Since 0.3, Odamex has a lot of working features. The doom engine is sensitive to change, so to preserve functionality we have a set of tests to run on every submission. They are located in the tests directory

Writing tests

Tests are written in TCL, as this is a portable scripting language. It is best to start by copying an existing test. Tests should output lines containing the words "PASS" or "FAIL".