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

Adds a first unit test for SessionDao as a proof of concept. #132

Merged
merged 1 commit into from
Feb 11, 2016

Conversation

thagikura
Copy link
Contributor

This test makes mock instances for all dependencies including OrmaDatabase.
So shouldn't be affected by the changes of any dependencies.

@hotchemi
Copy link
Contributor

Thx! It might be conflicted with #129 .

@thagikura
Copy link
Contributor Author

Ah ok. Looks like so. Please prioritize #129 first. Then I can rebase on top of that.

@konifar
Copy link
Owner

konifar commented Feb 11, 2016

Thanks! It is really helpful for me because I don't have enough knowledge of testing.

@hotchemi
Copy link
Contributor

LGTM!

@konifar
Copy link
Owner

konifar commented Feb 11, 2016

LGTM!

@thagikura #129 was merged. Could you rebase? 🙇

This test makes a mock instances for all dependencies including OrmaDatabase.
So shouldn't be affected by the changes of any dependencies.
@thagikura thagikura force-pushed the add_unit_tests_for_SessionDao branch from a4aa4f5 to a3a51ff Compare February 11, 2016 08:04
@thagikura
Copy link
Contributor Author

Thanks for the review!

Done. Rebased on top of the latest master.
Also reverted my change for circle.yml because ./gradlew check also runs the ./gradlew test (./gradlew check was added by #129)

@hotchemi
Copy link
Contributor

Great:D

@hotchemi hotchemi closed this Feb 11, 2016
@hotchemi hotchemi reopened this Feb 11, 2016
hotchemi added a commit that referenced this pull request Feb 11, 2016
Adds a first unit test for SessionDao as a proof of concept.
@hotchemi hotchemi merged commit e3bed44 into konifar:master Feb 11, 2016
@thagikura thagikura deleted the add_unit_tests_for_SessionDao branch February 11, 2016 08:15
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

Successfully merging this pull request may close these issues.

3 participants