Skip to content

Introduce PROVE_OPTS environment variable #117

@hurricup

Description

@hurricup

Tests may be run via prove directly or via make with make test.
In latter case, it is not possible to pass additional arguments to the script.

But this may be necessary for the IDE integration. IDE may need to pass it's own formatter, plugin or modify execution mode, like jobs, shufflle, etc.

Makefile.PL should not depend on development environment, because different users may have different preferences, so would be nice to be able to pass additional arguments via environment variables.

One thing that bothers me is that these variable are expected to have higher precedence than command line argument, so IDE could tune execution, but this feels wrong... May be two variables could be introduced, e.g PROVE_OPTS and FORCE_PROVE_OPTS where first has lesser precedence and latter - higher.

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