Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: When Test Suites Attack

by exussum0 (Vicar)
on Nov 02, 2005 at 16:03 UTC ( #504970=note: print w/replies, xml ) Need Help??

in reply to When Test Suites Attack

Someone spoke about it earlier, but I'll chime in knowing little about what anyone else has said beyond that.

Hopefully, you've separated out the logic of manipulating some data and performing an action upon it, from the layer. Your unit tests should be as simple as possible, and not dealing w/ your web layer - your presentation layer. It makes your tests simpler w/o debugging the html, the presentation layer AND the business layer.

It sounds like what you are talking about is interface testing, or end to end testing. Unit testing programmatically will be a bitch. What's worse is, you won't be testing the layout, the JS involved, form elements rendering - text area instead text field, radio button instead of checkboxes. There are tools, though I don't know them off the top of my head, to make IE and Firefox emulate a user browsing around. Something like,, though I have no clue of the quality of that particular piece. Just an example of what you should look for.

Give me strength for today.. I will not talk it away..
Just for a moment.. It will burn through the clouds.. and shine down on me.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://504970]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2021-02-28 01:24 GMT
Find Nodes?
    Voting Booth?

    No recent polls found