My common scenario: I have a web app and a test project in the same solution. Maybe I'm missing something, but I can't test methods/snippets from the Immediate Window regardless of which project. MSDN alleges you can't use syntax like
?TestMethod123(args)
from the Immediate Window while in web type project. So, why can't I throw a method in my test project (same solution, mind you) without the [TestMethod] attribute and get some output there?
Often, I find myself needing to quickly test the output (read: Console output) of a few lines of code, but it doesn't merit a whole unit test, or I don't want to clutter my pretty test project with junk code I don't initially understand in the first place. Does Visual Studio provide a way for me to quickly test code snippets?