JUnit Testing Android

preview_player
Показать описание
Writing and runinng a simple JUnit test against a DAO interface and stub for an Android program. Also show test coverage with the EclEmma plugin
Рекомендации по теме
Комментарии
Автор

Where can I find more information about the assignments mentioned in the video? Is it accessible for the public?

kbabioch
Автор

Does this video belong to any playlist? How can i find the videos related to this one, where you made this plant program.

renbo
Автор

How did you manage to run the test without emulator or target device? Eclipse keeps telling me to pick a device when I choose "Android JUnit Test".

arenaq
Автор

Hi I am new to java, and junit, i followed your video, i could get the "coverage As" option, do i need to enable it or install any plugin? 

hareshbabuveldurty
Автор

HI Jones thank you for such a great tutorial video can you explain more with examples in android studio.

meetmehdi
Автор

Thank you for the time and organization in these videos. They are excellent but lLike so many others, I'm finding it difficult to view them in a same logical sequence as the bullets in the PPT slide.

Permit me to open a discussion on style (which in many cases is subjective). You coded the checking for a valid plant in the DAO. I would suggest that it is the Plant object itself that should determine if the object is complete/valid. The Plant object would then have a method "public boolean ifValid()". I believe the plant object knows best if it is compete. There may be other places where the Plant object is used and only compete objects are valid. Should every consumer of a Plant object determine if the object is compete?

This is not a critique of your example. As a marginal beginner to OO, I'm trying to validate my own understanding of the concepts.

Palibre_DP