If test cases are put in the same package, then release version will contain test project.
If it is a sub-project of the under testing project.
-- On Sat, Feb 18, 2012 at 8:31 AM, Ray Tayek <rtayek@ca.rr.com> wrote:
At 03:06 PM 2/17/2012, you wrote:who is going to do that? the test cases are in a separate project?
If test cases are put in the same package, then release version will contain test project.
i disagree. i usually test non-public classes and methods.
And you should only test public interface.
thanks
在 2012-2-18 ä¸Šå ˆ6:21,"Ray Tayek" <<mailto:rtayek@ca.rr.com>rtayek@ca.rr.com>写é ":am going to run into trouble by doing this? ...
having the test cases in a different package make it hard to test methods and classes with protected or the default visibility.
is there some reason why the test cases are put into a separate package?
placing them in the same package seems to work ok.
---
co-chair http://ocjug.org/
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment