Open
Description
Describe the bug
When adding utility classes/objects to test source sets, the plugin tries to scan them for tests but fails with:
class co.helmethair.scalatest.runtime.Discovery cannot access a member of class ***SomeHelper$ with modifiers "private"
To Reproduce
object SomeHelper extends MockFactory {
def something(...)
}
placed under src/test/scala/{package}
causes the above to be recognized as the test and fail.
Expected behavior
Such classes should be ignored.
Screenshots
N/A
Build/Test environment:
- Gradle 7
- Scala 2.12
- Scalatest 3.2.15
Thanks!