Skip to content

mxcli test: override constants per run or per test #1700

Open

Description

@GlennCorvers

What happens: a test cannot set a constant, so a switch driven by a constant (for example a mock that fails on demand) cannot be tested end to end.
Expected: @constant Module.Name = value in a test block, or --constant Module.Name=value on mxcli test.
Version: 0.28.0.

Mendix 11.12.4.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions