Skip to content

Failing assertion should terminate script #12

Description

@genius257

Currently a failing assertion will log the error and then run the rest of the script.
within the internal handling of a failing assertion, exit should be called with a exit code <> 0

This does currently happen, if test are run via the au3unit runner:

If $error <> 0 And $CmdLine[0]>0 And $CmdLine[1] == "external" Then Exit $AU3UNIT_EXITCODE_FAIL

But it should have the same behavior, as default, when a test script is being executed manually

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions