Web console
Command line interfaces
Adaptors
Others tips
Notice:This option can be used with each option below. |
lavoisier-parse-config
lavoisier-process-config
lavoisier-standalone-execute <view>/<path>
<connector type="StringConnector"> <parameter name="content" eval="<xpath_expression>"></parameter> </connector><serializer type="EncapsulateSerializer"></serializer>
<processor type="LogProcessor" match="/*"> <parameter name="message" eval="$<argument_name>"></parameter> </processor>
<processor type="XmlDumpProcessor" match="/*"> <parameter name="file">debugging.xml</parameter> </processor>
<processor type="SelectWindowProcessor" match="/*/*" disabled="not(property('debug')='true')"> <parameter name="length">10</parameter> </processor>
$PWD/stubs/<view_name>.xml
Notice:You can modify this behavior by editing file lavoisier-config.xsl |
<view-template name="test" stylesheet="template/NonRegressionTemplate.xsl"> <parameter name="test-suite">test/test-suite.xml</parameter> <parameter name="expected">test/expected.xml</parameter> </view-template>
curl http://localhost:8080/lavoisier/test_generate_suite?accept=xml > test/test-suite.xml
<test-suite> <entries view="<view_name>"> <entry key="<argument_name>">argument_value</entry> </entries> </test-suite>
curl http://localhost:8080/lavoisier/test_generate_expected?accept=xml > test/expected.xml
cat test/expected.xml