We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As specified, the way to define rules in our tests is:
@Rule public BaristaRule<MyActivity> baristaRule = BaristaRule.create(MyActivity.class);
But translated to Kotlin, we'll get:
@Rule var baristaRule = BaristaRule.create(MyActivity::class.java)
This will throw an exception like: The @Rule 'baristaRule' must be public
The @Rule 'baristaRule' must be public
The way to correctly define the Rule in Kotlin is:
@get:Rule var baristaRule = BaristaRule.create(MyActivity::class.java)
So, maybe will be good to add this divergence somewhere
The text was updated successfully, but these errors were encountered:
#221 is a proposal to fix this issue 🎉 🍌
Sorry, something went wrong.
No branches or pull requests
As specified, the way to define rules in our tests is:
But translated to Kotlin, we'll get:
This will throw an exception like:
The @Rule 'baristaRule' must be public
The way to correctly define the Rule in Kotlin is:
So, maybe will be good to add this divergence somewhere
The text was updated successfully, but these errors were encountered: