Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Testing Tools for .NET

Posted on 2008-06-18
3
175 Views
Last Modified: 2013-11-26
I'm a fairly new developer, so please excuse my ignorance if this is an easy question.

I write a lot of really simple programs that parse data, extract data, and create reports.  There are a lot of times where I wish I could just right click on a function I wrote, fill in values for the variables, then execute it and get the result(like you can do in SQL server).

Is there something in Visual Studio that will let me do this without having to write my own test functions.  Just run this code, and give me the results.

Are there any free external tools for this?
0
Comment
Question by:leisenstein
3 Comments
 
LVL 3

Expert Comment

by:BitRunner303
ID: 21812679
Check out http://www.testdriven.net/ it's a suite of free tools to integrate into VS that will allow you to perform test driven development (TDD) on your code.
0
 
LVL 5

Expert Comment

by:JuckMan
ID: 21818376
For what are you trying to accomplish, VS 2008 team editions comes with tools necessary to do your unit test. YOU can create a test project, point your class and generated test driver for your methods.
When you are running it if you want to test it manually then VS debugger is more than enough you can change the values in the debugger and test it.

If you want to test it automatically then you can write multiple test methods with different input values. Once nice thing doing this way is, if you have TFS installed then you can run your tests when ever you want or you can schedule them. In this way your unit tests can run every day and if you break your code you will know it right away..
0
 

Accepted Solution

by:
leisenstein earned 0 total points
ID: 21865844
BitRunner,

  I download TestDriven and the product says it does AdHoc tests, but the docs are sparse on this.  Is there a way to put in my own input for the functions I want to test?

If there is, then this is perfect for me.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JQuery JavaScripot loop though RadioButtonList 4 32
Store results in vb.net 3 24
Call Controller Action Method from ASPX 2 22
Adding items to a C# list incrementally 5 28
Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question