Qbs

Blog Documentation Get Qbs
  • Qbs Manual
  • QbsModules
  • autotest
  • Qbs 2.3.0
  • autotest QML Type

    Allows to fine-tune autotest execution. More...

    Import Statement: import QbsModules
    Since: Qbs 1.13

    Properties

    Detailed Description

    The autotest module provides properties that allow autotest applications to specify how exactly they should be run.

    Property Documentation

    allowFailure: bool

    Autotests for which this property is true can return a non-zero exit code without causing the entire AutotestRunner to fail. Use this for tests that are known to be unreliable.

    Default: false


    arguments: stringList

    The list of arguments to invoke the autotest with. If not specified, then the arguments property of the AutotestRunner that invokes the autotest is used.

    Default: Undefined


    timeout: int

    The time limit for the execution of the autotest. If not specified, the timeout property of the AutotestRunner that invokes the autotest is used.

    Default: Undefined

    This property was introduced in Qbs 1.15.


    workingDir: string

    The working directory for running the autotest. If not specified, then the workingDir property of the AutotestRunner that invokes the autotest is used.

    Default: Undefined