Solved

Testing Tools for .NET

Posted on 2008-06-18
3
172 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 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

12 Experts available now in Live!

Get 1:1 Help Now