A memory stores a plurality of first data structures, which includes
element specific data objects indicating a classification of at least one
of the plurality of segments of the test definition language, and second
data structures, which include attribute specific data objects indicating
at least one attribute of the segments of the test definition language
implemented by a computer. A method for computer-based testing includes
authoring a test specification and content of the at least one test using
a test definition language, compiling the test specification and content
of the at least one test to create a compiled test specification and
content, which includes validating the test specification and content,
storing the compiled test specification and content to a resource file,
and retrieving the compiled test specification and content from the
resource file during delivery of the test.