Discussion:
[TFUI] My book on TDD for Views is available online
Phlip
2010-04-03 16:09:38 UTC
Permalink
http://zeroplayer.com/tfui/TestFirstUserInterfaces.pdf

It addresses these industry abuses:

- skipping the View layer in TDD
- testing the View thru a user-emulator (such as Watir!)
- writing the View code first, then testing it (a little!)

The goal is new test cases drive new View features, without looking at or
driving the View too often.

That is a tall hill to scale, hence the book is very dense. However, each
chapter and case study contains its own Best Practices that can be learned
alone, just by reading them.

Work with the book inspired my subsequent research with RoR, including
assert{ 2.0 }, assert_xhtml{}, and assert_rjs_. An alternate Web chapter is
my O'Reilly paper on TDD for Ajax: http://oreilly.com/catalog/9780596510657
--
Phlip
George Dinwiddie
2010-04-08 12:57:47 UTC
Permalink
Phlip,

Just so you know, the diagrams come out as black rectangles (sometimes
with labeled white rectangles on them) when viewed with Preview on my
Mac. I haven't tried reading on a different machine, yet.

- George
Post by Phlip
http://zeroplayer.com/tfui/TestFirstUserInterfaces.pdf
- skipping the View layer in TDD
- testing the View thru a user-emulator (such as Watir!)
- writing the View code first, then testing it (a little!)
The goal is new test cases drive new View features, without looking at or
driving the View too often.
That is a tall hill to scale, hence the book is very dense. However, each
chapter and case study contains its own Best Practices that can be learned
alone, just by reading them.
Work with the book inspired my subsequent research with RoR, including
assert{ 2.0 }, assert_xhtml{}, and assert_rjs_. An alternate Web chapter is
my O'Reilly paper on TDD for Ajax: http://oreilly.com/catalog/9780596510657
--
----------------------------------------------------------------------
* George Dinwiddie * http://blog.gdinwiddie.com
Software Development http://www.idiacomputing.com
Consultant and Coach http://www.agilemaryland.org
----------------------------------------------------------------------
Chet Hendrickson
2010-04-08 15:04:56 UTC
Permalink
Hello,

I get the same on my windows machine.

chet
Post by George Dinwiddie
Phlip,
Just so you know, the diagrams come out as black rectangles (sometimes
with labeled white rectangles on them) when viewed with Preview on my
Mac. I haven't tried reading on a different machine, yet.
- George
Post by Phlip
http://zeroplayer.com/tfui/TestFirstUserInterfaces.pdf
- skipping the View layer in TDD
- testing the View thru a user-emulator (such as Watir!)
- writing the View code first, then testing it (a little!)
The goal is new test cases drive new View features, without looking at or
driving the View too often.
That is a tall hill to scale, hence the book is very dense. However, each
chapter and case study contains its own Best Practices that can be learned
alone, just by reading them.
Work with the book inspired my subsequent research with RoR, including
assert{ 2.0 }, assert_xhtml{}, and assert_rjs_. An alternate Web chapter is
my O'Reilly paper on TDD for Ajax: http://oreilly.com/catalog/9780596510657
--
Best regards,
Chet Hendrickson mailto:lists-IJTVH83nWJ5uyWAYEt8FDAC/***@public.gmane.org
Check out our upcoming CSM Plus courses @
http://hendricksonxp.com/index.php?option=com_eventlist&Itemid=28
Lundak, Jiri
2010-04-08 15:21:47 UTC
Permalink
Hi,

Same here with OpenSuse Linux.

Cheers.
Jiri

-----Ursprüngliche Nachricht-----
Von: TestFirstUserInterfaces-***@public.gmane.org im Auftrag von Chet Hendrickson
Gesendet: Do 08/04/2010 17:04
An: TestFirstUserInterfaces-***@public.gmane.org
Betreff: Re: [TFUI] My book on TDD for Views is available online

Hello,

I get the same on my windows machine.

chet
Post by George Dinwiddie
Phlip,
Just so you know, the diagrams come out as black rectangles (sometimes
with labeled white rectangles on them) when viewed with Preview on my
Mac. I haven't tried reading on a different machine, yet.
- George
Post by Phlip
http://zeroplayer.com/tfui/TestFirstUserInterfaces.pdf
- skipping the View layer in TDD
- testing the View thru a user-emulator (such as Watir!)
- writing the View code first, then testing it (a little!)
The goal is new test cases drive new View features, without looking at or
driving the View too often.
That is a tall hill to scale, hence the book is very dense. However, each
chapter and case study contains its own Best Practices that can be learned
alone, just by reading them.
Work with the book inspired my subsequent research with RoR, including
assert{ 2.0 }, assert_xhtml{}, and assert_rjs_. An alternate Web chapter is
my O'Reilly paper on TDD for Ajax: http://oreilly.com/catalog/9780596510657
--
Best regards,
Chet Hendrickson mailto:lists-IJTVH83nWJ5uyWAYEt8FDAC/***@public.gmane.org
Check out our upcoming CSM Plus courses @
http://hendricksonxp.com/index.php?option=com_eventlist&Itemid=28




[Non-text portions of this message have been removed]
Phlip
2010-04-08 16:17:40 UTC
Permalink
oy nobody likes SVG->PS! I will run it thru an alternate translator &
repost. (Oh, and _check_ it on those platforms!)

Also I could bust them down to rasters; they were, of course, ready to
be used as mechanicals!
Post by George Dinwiddie
Just so you know, the diagrams come out as black rectangles (sometimes
with labeled white rectangles on them) when viewed with Preview on my
Mac. I haven't tried reading on a different machine, yet.
--
 Phlip
 http://c2.com/cgi/wiki?ZeekLand
George Dinwiddie
2010-04-08 17:56:46 UTC
Permalink
And here I thought you were just testing to see if people read it or
not. ;-)
Post by Phlip
oy nobody likes SVG->PS! I will run it thru an alternate translator &
repost. (Oh, and _check_ it on those platforms!)
Also I could bust them down to rasters; they were, of course, ready to
be used as mechanicals!
Post by George Dinwiddie
Just so you know, the diagrams come out as black rectangles (sometimes
with labeled white rectangles on them) when viewed with Preview on my
Mac. I haven't tried reading on a different machine, yet.
--
----------------------------------------------------------------------
* George Dinwiddie * http://blog.gdinwiddie.com
Software Development http://www.idiacomputing.com
Consultant and Coach http://www.agilemaryland.org
----------------------------------------------------------------------
Loading...