Shopify / android-testify

Add screenshots to your Android tests
https://testify.dev
MIT License
231 stars 23 forks source link

Improve testify extension configuration message #236

Closed jaredh closed 3 years ago

jaredh commented 3 years ago

What does this change accomplish?

Related https://github.com/Shopify/android-testify/issues/234

If testPackageId can't be resolved we output an error message informing you that you need to configure the testify extension, but we only indicate that applicationPackageId needs to be set. This allows us to display the property that isn't able to be inferred.

A problem occurred configuring project ':SomeLibrary'.
>

    You must define an `testPackageId` in your `testify` gradle extension block:

        testify {
            testPackageId "com.example.app"
        }