maiflai / gradle-scalatest

A plugin to enable the use of scalatest in a gradle Scala project.
The Unlicense
73 stars 35 forks source link

Add ability to set custom runner from config #98

Open burbokop opened 2 years ago

burbokop commented 2 years ago

https://github.com/maiflai/gradle-scalatest/blob/94fad79ee35343b258c5b680e52efb3b3c481d56/src/main/groovy/com/github/maiflai/ScalaTestAction.groovy#L71 Here runner is hardcoded. I think it is properly to give user ablility setting custom runner from build.gradle like:

test {
    runner = 'me.myapp.tools.Runner'
}

And if user not specify runner use default scalatest runner.