I am trying to do a unit test on an aspx partial class, for example a button_click
event.
I think this task is more suitable for an integration testing using "seleniumhq" or "watin".
The other way that I can think of doing this test is to extract the business logic from within this eventHandler
, put it into a different class and perform unit test on that.
What do you think?