Skip to content

Passing arguments from CLI to Scalatest runner does not work #1490

Open
@kammoh

Description

@kammoh

CLI runner arguments are not passed to Scalatest. Previously reported (and not fixed) in #1288.

$ bloop test root --only MySpec -- -Dkey=value
MySpec:
configMap=Map()

It works perfectly fine with sbt:

$ sbt "root/testOnly MySpec -- -Dkey=value"
[info] compiling ...
MySpec:
configMap=Map(key -> value)

Tried and not worked:

  • The --args flag and/or variations of quotations
  • bloop "1.4.8" and "v1.4.8-19-4d9f966b"
  • JDK 8 and 11
  • bloop test xyz -- -J-Dkey=value

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions