Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 824083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:02:50+00:00 2026-05-15T03:02:50+00:00

My common scenario: I have a web app and a test project in the

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T03:02:50+00:00Added an answer on May 15, 2026 at 3:02 am

    For quick-and-dirty checking of some dubious code I use the Snippet Compiler, which works wonderfully for that purpose.

    For running a single or just a few unit tests, I would recommend using Resharper, or TestDriven.NET. They are both commercial solution, but both are well worth the bucks, especially if used in a professional environment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have what appears to be a fairly common scenario: I have a database
A common scenario when using source control is to have a development branch along
I'm integrating Gigya with a web app running Acegi. I have it working that
I have to make an iPhone app for a company which has a web
We have a testbed scenario we are developing for an integration test. The idea
Ok, this is an very common scenario in web dev, with a very common
Common question but I could use an english explanation. Is it like Java where
With common lisp and I am assuming the introspection properties. How can I add
A common web UI design is to display a sortable grid (GridView, ListView, DataGrid)
I'm writing a web app which is used a SaS. Each customer has their

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.