Search the web
Sign In
New User? Sign Up
TestFirstUserInterfaces
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: [agile-testing] Unit Testing the Presentation Layer   Message List  
Reply | Forward Message #1046 of 1051 |
Re: [agile-testing] Unit Testing the Presentation Layer

> Re: Can ASP render a page back as a string. Absolutely! Its
> call Response.Write, just pipe it out to whatever channel
> you like :)

Could anyone here who's familiar with both ASP's Response.Write, and with
Rails's ActionController::TestCase's get() method, write a little pseudocode
here showing how to write that method into the lightest possible Nunit test
case?

(Allow me to slag on ASP anyway, but I'm only familiar with its VB Classic
incarnation, >1 decade ago...;)

--
Phlip



Fri Jun 12, 2009 4:49 am

phlipcpp
Offline Offline
Send Email Send Email

Forward
Message #1046 of 1051 |
Expand Messages Author Sort by Date

... Will ASP allow you to cook a web page without sending it over the wire? If you Mock The Server, you can then test - even TDD - by writing assertions that...
Phlip
phlipcpp
Offline Send Email
Jun 12, 2009
2:24 am

... Unit testing the presentation layer should treat the test targets the same as any other layer would test them. In web programming, a web page is a big...
Phlip
phlipcpp
Offline Send Email
Jun 12, 2009
3:48 am

Re: Can ASP render a page back as a string. Absolutely! Its call Response.Write, just pipe it out to whatever channel you like :) Regards, Miguel de Sousa ...
miguel de sousa
migdesousa
Offline Send Email
Jun 12, 2009
4:45 am

... Could anyone here who's familiar with both ASP's Response.Write, and with Rails's ActionController::TestCase's get() method, write a little pseudocode here...
Phlip
phlipcpp
Offline Send Email
Jun 12, 2009
4:49 am

... To add a new feature, you should generally add it at the business layer first. The goal will be that anything a user can do to the View, a unit test can...
Phlip
phlipcpp
Offline Send Email
Jun 12, 2009
2:25 pm

... Here's a metaphor - the Golden Spike at Promontory Point, Utah, where the Union Pacific and Central Pacific railways met for our first intercontinental...
Phlip
phlipcpp
Offline Send Email
Jun 16, 2009
7:05 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help