Skip to content

Instantly share code, notes, and snippets.

@andyedinborough
Created February 23, 2012 14:29
Show Gist options
  • Save andyedinborough/1893086 to your computer and use it in GitHub Desktop.
Save andyedinborough/1893086 to your computer and use it in GitHub Desktop.
This would be so epic...
using System;
using System.Web;
namespace TestOfMyDreams {
[TestClass]
public class Test {
[TestMethod]
public void TestRequest(){
using(var app = MyMvcApplication.Create("C:\\path\\to\\project\\"))
using(var req = app.CreateRequest("/"))
using(var res = req.GetResponse()) {
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment