NUnitASP and the SessionState

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All,

I have started using NUnitASP to write test cases for an ASP.NET
application. It works great, but some of the assertions that need to be made
depend on values stored in the Session. The problem is that NUnitASP
basically acts as a client to webforms and simply abstracts the HTML emitted
by the various ASP.NET pages and has no access to the Session or even
HttpContext.Current for that matter (its completely detached from the
aspnet_wp).

So, basically I am trying to figure out how to augment NUnitASP's capability
by somehow attaching to the aspnet_wp and query the session for a given
request, all from a standalone class library that is completely decoupled
from the ASP.NET website.

Does anyone have any suggestions or tips?

Thanks in advance,
Nate
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top