---+!! %TOPIC% Description: _a brief description of the testcase_ Enter the golden HTML surrounded by structured HTML comments: <verbatim> <!-- expected --> ...your golden HTML... <!-- /expected --> </verbatim> The golden HTML should be what you expect to be rendered in the final output. You can optionally enable expansion of %variables% ( =TWiki::Func::expandCommonVariables= ) on an expected block thus: <verbatim> <!-- expected expand --> </verbatim> Normally you should _not_ use the expand option. It is intended primarily for expanding URL components when testing generated HTML which is specific to the installation, and should be used with caution as it assumes that TWiki doesn't do anything naughty during this expansion. You specify your actual test markup in the same way: <verbatim> <!-- actual --> <!-- /actual --> </verbatim>
This topic: TestCases
>
TestCaseTemplate
Topic revision: r1 - 2021-01-06 - TWikiGuest
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback