Solved

Testing Tools for .NET

Posted on 2008-06-18
3
174 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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now