Re: [android-developers] Is it a UNIT Test or an Integration test?
If it's for a school project, then it's whatever your teacher says it is :) -- Kostya Vasilyev -- http://kmansoft.wordpress.com 10.11.2010 1:22 пользователь "Frank Weiss" написал: You've raised a good question. It's correct to to say that a unit test does not involve all the classes of an application. Unit tests are also supposed to run very quickly. We also usually don't include the GUI in unit tests. Neither external web services. In Android, though, we have a bit of a problem. To really run even by the book unit tests, we'd have to either run them on the JVM or the DVM. In the first case, we would be using .class files, in the latter case, .dex files. But I don't know if we have DVM for anything but the emulator or the device. And the emulator's DVM tends to run slow. Hmmm. I would tend to agree that what is called unit testing in the Android SDK is a bit different than the norm. I'd like to hear what others have to say. -- You received this message because you are subscribed to the Google Groups "Android Develop... -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Is it a UNIT Test or an Integration test?
You've raised a good question. It's correct to to say that a unit test does not involve all the classes of an application. Unit tests are also supposed to run very quickly. We also usually don't include the GUI in unit tests. Neither external web services. In Android, though, we have a bit of a problem. To really run even by the book unit tests, we'd have to either run them on the JVM or the DVM. In the first case, we would be using .class files, in the latter case, .dex files. But I don't know if we have DVM for anything but the emulator or the device. And the emulator's DVM tends to run slow. Hmmm. I would tend to agree that what is called unit testing in the Android SDK is a bit different than the norm. I'd like to hear what others have to say. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Is it a UNIT Test or an Integration test?
I'm working on a school project and I'm researching testing possibilities for Android applications. On this page: http://developer.android.com/resources/tutorials/testing/helloandroid_test.html Google writes about a unit test. Is this really a unit test? A Unit test will not integrate all classes and will not test in his context. So my opinion is it is not a Unit Test but an Integration Test. What do you think? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en