[Springnet-developer] Testing code behind for .aspx pages
Brought to you by:
aseovic,
markpollack
|
From: Michael H. <mik...@gm...> - 2009-07-31 14:24:00
|
Hi,
I'm new to the list. I was wondering how I might go about testing the
code behind for aspx pages. I'd like to be able to do something like
this in nunit:
var page = new AwesomePage();
Assert.AreEqual("this page is awesome", page.TextBox1.Text);
In other words how do I unit test my controllers?
- Michael
|