Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix information in the README #69

Open
IgorGanapolsky opened this issue Aug 23, 2017 · 4 comments
Open

Fix information in the README #69

IgorGanapolsky opened this issue Aug 23, 2017 · 4 comments

Comments

@IgorGanapolsky
Copy link

Hello,
your README states:

the test suite will not report that the Test Butler app is not installed, instead it will skip the test.

However, I am continually getting this exception:
java.lang.IllegalStateException: ButlerService is not started!

When trying to use TestButler without the companion APK.

@drewhannay
Copy link
Contributor

You're see this even when trying to use TestButler from an @BeforeClass or @AfterClass method?

@IgorGanapolsky
Copy link
Author

@drewhannay Yes

@drewhannay
Copy link
Contributor

Very interesting. More info would be useful. What version of the Testing Support Library are you using? How are you running the tests?

I believe the behavior I've seen is that error does not show up in the junit test report when an exception happens in @BeforeClass or @AfterClass

@IgorGanapolsky
Copy link
Author

IgorGanapolsky commented Aug 24, 2017

I am using:
androidTestImplementation 'com.linkedin.testbutler:test-butler-library:1.3.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.0'

If you omit androidTestUtil 'com.linkedin.testbutler:test-butler-app:1.3.1@apk' from your gradle script, you will see this error in @BeforeClass and @afterclass

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

No branches or pull requests

2 participants