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

Add extensions for Android #39

Open
rohandhruva opened this issue May 29, 2018 · 5 comments
Open

Add extensions for Android #39

rohandhruva opened this issue May 29, 2018 · 5 comments
Labels
🦄 enhancement New feature or request 🆘 help wanted Extra attention is needed

Comments

@rohandhruva
Copy link

Adding extensions for Android will allow some often-used assertions to be shorter and more idiomatic. For example, we could have:

expect(view).isGone()

instead of

expect(view.getVisibility()).isEqualTo(View.GONE)

A good starting point for these might be assertj-android: https://github.com/square/assertj-android

@robfletcher robfletcher added 🦄 enhancement New feature or request 🆘 help wanted Extra attention is needed labels May 29, 2018
@faogustavo
Copy link

@robfletcher @rohandhruva do you still want to do this? I can create an android module. After it, we can break this issue in some others. This way, more people can contribute.

@rohandhruva
Copy link
Author

rohandhruva commented Dec 7, 2019

@faogustavo , thanks for pinging this issue :)

I can create an android module. After it, we can break this issue in some others. This way, more people can contribute.

Sounds like a plan! I'm happy to help out with some of the sub-tasks!

@faogustavo
Copy link

After some tests, I was not able to create the android library structure inside the project.
I'll create a separated project to do this.
If in the future you migrate the project to an organization, I can arrange to transfer the android project too.

@faogustavo
Copy link

faogustavo commented Dec 9, 2019

I created the project and added some issues to start (https://github.com/faogustavo/strikt-android).
I'll try to add more assertions and map new issues in the next days.
I hope it helps with this issue.

@robfletcher
Copy link
Owner

Sounds good. I know nothing about Android dev, but it would be a very logical thing to add to Strikt's capabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦄 enhancement New feature or request 🆘 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants