scalatest / scalatest-maven-plugin

ScalaTest Maven Plugin
Apache License 2.0
34 stars 61 forks source link

scalatest-maven-plugin can't run projects with spaces in their path #38

Open cstroe opened 7 years ago

cstroe commented 7 years ago

If you have a project project that has spaces in its path, scalatest-maven-plugin spawns a Scalatest runner that doesn't discover any tests:

[INFO] --- scalatest-maven-plugin:1.0:test (test) @ main-api ---
Discovery starting.
Discovery completed in 50 milliseconds.
Run starting. Expected test count is: 0
DiscoverySuite:
Run completed in 94 milliseconds.
Total number of tests run: 0
Suites: completed 1, aborted 0
Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0
No tests were executed.

We should escape any run paths we pass to Scalatest so it can properly find the test classes.

cstroe commented 5 years ago

Bumping this, as the PR is ready to be merged.