I'll try to keep it short...

> When I’m trying to find out why my presentation layer DOM element didn’t
> receive some DOM attribute as result of computation, this is bug in the
> presentation layer, which was abstracted together with browser in your
> approach
>
Yes, you can assert/debug against presentation-layer/DOM element values
with a Tessell-style approach very easily, as that's the whole point
(asserting that when user does X on DOM element Y, then the DOM looks like
Z).

Tessell (or similar) does not replace/remove the presentation layer, it
just decouples it from the browser, by replacing the C++/whatever DOM impl
(that you only get if you boot up Chrome or FF or PhantomJS or what not)
with a pure-Java DOM(-ish) impl.

I want to develop/debug the app which looks like html app, not generic app!
>
Tessell (or other "modern GWT") apps are just HTML apps, they do not use
the generic UI widgets like the Qt/mobile things you mention; see the
todomvc example which looks like every other todomvc impl. It's all
markup + CSS just like Angular/Ember/etc.

the size of test code (excluding declaration and syntax lines) is 5-6
> lines, whereas logic being tested is 3 lines
>
Unit tests in Tessell projects are unusually small/simple from what I've
seen (primarily due to using stubs, they don't have a lot of the repetitive
when/when/when setup that comes with mocks), but if you're using a "unit
tests add too much code to maintain" line of thought, then you're probably
not going to be writing tests anyway. Which probably explains why you need
such a great debugging experience. :-D

- Stephen

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CANnRKuWq2HmwSTDJBPwbOq1-4Osg8vdswW60sZqYqO%3DngVzx3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to