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

Error at mock Repository #65

Open
jstr14 opened this issue Dec 21, 2017 · 3 comments
Open

Error at mock Repository #65

jstr14 opened this issue Dec 21, 2017 · 3 comments

Comments

@jstr14
Copy link

jstr14 commented Dec 21, 2017

Hello,

I'm trying to test my login and I have some problems. The repo that I use to login has a function with username and password params. In my test I mock the Login Repository but it doen't work. I don't know what is the problem. Can you help me please?

I create a example repo: https://github.com/jstr14/Testing the example is on scafolding branch
My test is on LoginTest class

Thank you very much

@fabioCollini
Copy link
Owner

@jstr14
Copy link
Author

jstr14 commented Dec 27, 2017

Hello,
I upload the correct LoginTest, thanks for your reply

@fabioCollini
Copy link
Owner

Hi, I think it doesn't work because you are using dexopener but you haven't declared the test runner in your build.gradle file. You can find more info here: https://github.com/tmurakami/dexopener

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