SourceForge.net Logo
prevtopnext
izh_test
    Kinds of tests
        test_script - Sequence of simple test actions
check - Comparing of file with etalon

Test command allows comparing result file with etalon.

Full specification of the command looks like:
<check>test result base path</check>
Where:
check

Base file name for "test file result".

Usually this file name has an extension.

If the file name looks like [name].[last_extension] then

  • name of the result file will be [name].result.[last_extension],
  • name of the etalon file will be [name].etalon.[last_extension],
  • name of the file difference will be [name].diff.

Before using of these file names izh_test adds path to the directory with file description of the test to it so you don't have to use %test_dir% .

The command only compares content of result file with content of etalon file.

If contents of files are the same then result file is deleted.

If contents of files are not the same then result file is not deleted and command returns unsuccessful flag.


prevtopnext

SourceForge.net Logo