Skip to content

Jasmine tests - Cannot run single test when specifying test file #774

@simplygeekuk

Description

@simplygeekuk

Description

I am unable to run a single test file when using the following command:
mvn test -Dtest=testfile

I get the error:

[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:o11n-actions-package-maven-plugin:4.4.1:run-vro-tests (default-run-vro-tests) on project vro-actions: Unable to parse configuration of mojo com.vmware.pscoe.maven.plugins:o11n-actions-package-maven-plugin:4.4.1:run-vro-tests for parameter test: Cannot assign configuration entry 'test' with value '${test}' of type java.lang.String to property of type java.util.Map

[Description of the issue. Affected functionality / feature.]

Steps to Reproduce

run maven test command using -Dtest flag to specify a specific test file.

Preconditions: N/A

Expected behavior: test to run against single test file.

Actual behavior: unit test execution fails

Reproduces how often: 100%

Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]

Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]

Environment

Client

  • Build Tools for VMware Aria Version: 4.4.1
  • Visual Studio Code Version: 1.100.2
  • OS Version: Windows 10

Dependencies

Run: curl -o- https://raw.githubusercontent.com/vmware/build-tools-for-vmware-aria/main/health.sh | bash and paste the output here:

Server

  • vRealize Automation Version: 8.18.1
  • vRealize Orchestrator Version: 8.18.1
  • vRealize Operations Version: N/A
  • vRealize Log Insight Version: N/A

Failure Logs

[ERROR] Failed to execute goal com.vmware.pscoe.maven.plugins:o11n-actions-package-maven-plugin:4.4.1:run-vro-tests (default-run-vro-tests) on project vro-actions: Unable to parse configuration of mojo com.vmware.pscoe.maven.plugins:o11n-actions-package-maven-plugin:4.4.1:run-vro-tests for parameter test: Cannot assign configuration entry 'test' with value '${test}' of type java.lang.String to property of type java.util.Map

Related issues and PRs

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/testsRelates to tests and code coveragekind/featureNew Feature to the projectlang/javaRelated to Java Codetriage/acceptedThe issue was accepted and will be doneversion/minorIntroduces a non-breaking feature or change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions