Solved

Testing Tools for .NET

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

756 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