Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Fork plugin ignores settings #186

Open
sundetova opened this issue Mar 3, 2021 · 0 comments
Open

Fork plugin ignores settings #186

sundetova opened this issue Mar 3, 2021 · 0 comments

Comments

@sundetova
Copy link

Hello, I tried to run fork plugin, but faced next problem:
com.shazam.fork.suite.NoTestCasesFoundException: No tests cases were found in the test APK: /Users/sundetova/myapp_monorepo/apps/myapp/app/build/outputs/apk/androidTest/develop/debug/myapp-develop-debug-androidTest.apk
My root build.gradle:

dependencies {
      ...
      classpath 'com.shazam.fork:fork-gradle-plugin:3.13.0'
  }

My app build.gradle:

apply plugin: 'com.shazam.fork'

fork {
    title = "My acceptance tests"
    testPackage = "/Users/myapp_monorepo/apps/myapp/app/build/outputs/apk/androidTest/develop/debug/myapp-develop-debug-androidTest.apk" //I specially put wrong path here
    testClassRegex = "^[a-zA-Z]*Test\$"
    poolingStrategy {
        computed {
            characteristic = "sw"
            groups {
                allDevices = 0
            }
        }
    }
}

I looked at #137 , there said that should set custom regex for test Class. I set custom regex, but it did not help, also, I found that any changes in fork settings do not affect. I put wrong path of apk, but error shows that fork ignores it.
Could you help with it?
Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant