Feb 1 | 3:55 PM |
Mark M. | has entered the room |
Mark M. | turned on guest access |
Feb 1 | 4:15 PM |
ndrocchietto_ivano | has entered the room |
Mark M. |
hello, Ivano!
|
Mark M. |
how can I help you today?
|
ndrocchietto_ivano |
HI Mark, do not have any precise question
|
ndrocchietto_ivano |
I am improving a lot, now that I have been working as developer
|
ndrocchietto_ivano |
let me think
|
ndrocchietto_ivano |
please
|
Feb 1 | 4:35 PM |
ndrocchietto_ivano |
yeah. I am moving my first steps in TDD, and found your tutorial on adding a shot of Espresso nice.(after all I am Italian). But I had on Thursday a discussion about how important is TDD and how is difficult to test android components, if one does not have a port/adapter/solid/onion/super architecture(that my team does not want to implement). Roboelectric is not the right solution because it tests things via "shadows" and not mocking the real SUT thing. A guy told me that I should look into the "new Espresso" ???
|
Mark M. |
I am not certain what the "new Espresso" would be referring to
|
ndrocchietto_ivano |
is a kind of androidX last version of espresso
|
ndrocchietto_ivano |
that could allow TDD
|
ndrocchietto_ivano |
but I do not get it, nor I asked him for silly proud
|
Mark M. |
personally, I find GUI testing in Android to be frustrating, with or without Espresso
|
ndrocchietto_ivano |
me too, the delays and the things
|
Mark M. |
I tend to focus on getting as much code out of the activities and fragments as possible, then testing from the viewmodel layer back into deeper layers of the app
|
ndrocchietto_ivano |
but for TDD could be useful
|
ndrocchietto_ivano |
the problem is that my team put even area 51 in the viewModel
|
Feb 1 | 4:40 PM |
ndrocchietto_ivano |
so they do not like onion approach nor the inversion dependency via interfaces, or modules
|
Mark M. |
ah
|
Mark M. |
then, yes, testing will be a problem
|
ndrocchietto_ivano |
ahah
|
ndrocchietto_ivano |
never mind, I am learning a lot, if you run bad then you can walk good
|
ndrocchietto_ivano |
I am gonna study more the topic
|
ndrocchietto_ivano |
i just saw you have nice tutorials on delegates and by
|
Mark M. |
going back to your Robolectric comment, I agree and try to minimize my use of it -- I would rather have a slower-running instrumented test that really tests on Android
|
ndrocchietto_ivano |
wow
|
ndrocchietto_ivano |
I see
|
ndrocchietto_ivano |
after all was made by google engineers
|
Mark M. |
but, the projects I tend to work on are not huge
|
ndrocchietto_ivano |
I know that
|
Mark M. |
I think Google hired the developers somewhere along the line -- if I recall correctly, it started as an independent project
|
ndrocchietto_ivano |
everyone is more CI oriented, and I found this TDD growing object book fantastic
|
ndrocchietto_ivano |
eheh this justifies the lenght of View.java :troll
|
Mark M. |
overall, we are trying to do a better job with testing and testability in Android app development, but it is a slow process
|
Mark M. |
and, to paraphrase William Gibson, "the future is here; it is not evenly distributed"
|
Mark M. |
so there are some teams that are way out in front with sophisticated architectures designed for testability
|
ndrocchietto_ivano |
so true
|
Feb 1 | 4:45 PM |
Mark M. |
and there is a "long tail" of projects that are just trying to survive and be effective
|
Feb 1 | 4:45 PM |
ndrocchietto_ivano |
you becoming robin martin/fowler
|
ndrocchietto_ivano |
:)
|
Mark M. |
eh, I am just trying to help the people in that long tail
|
ndrocchietto_ivano |
techinical debt is killing millions
|
ndrocchietto_ivano |
ahah
|
ndrocchietto_ivano |
I am afraid that with the exponential need for developers, that will be junior per definition the long tail is far to go away
|
ndrocchietto_ivano |
wish you a nice evening, and would stop here so that can benefit from your help when I am in really specific situations
|
ndrocchietto_ivano |
ops sorry for the evening
|
ndrocchietto_ivano |
was forgetting
|
Mark M. |
it is almost evening here :-)
|
ndrocchietto_ivano |
have a nice day
|
Mark M. |
you too!
|
ndrocchietto_ivano |
:thumb up
|
Feb 1 | 5:00 PM |
ndrocchietto_ivano | has left the room |
Mark M. | turned off guest access |