First Version of Tests Plugin Completed

Current Functionality:

TestRefMacro — Returns the reference image of the specified test.

Example:

[[TestRef(TestName)]]

TestSimMacro — Returns the simulation image of the specified test.

Example:

[[TestSim(TestName)]]

TestLogMacro — Returns the run log of the specified test.

Example:

[[TestLog(TestName)]]

TestsMacro — Returns a table of reference and simulation images of all tests.

Example:

[[Tests]]

Test images may be manipulated using all standard arguments. For example:

[[Tests(120px)

Will rescale the width of all pictures to 120 pixels.

See example here: u/noyesma

The plugin reads available directories from the /data/tests directory on clover. If are are no corresponding images for a test in the SVN repository, the image entries will just appear as a question mark in the table. Hence, as new tests are added they will be automatically displayed in the Tests table.

Comments

No comments.