Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Testing Tools for .NET

Posted on 2008-06-18
3
Medium Priority
?
179 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
[X]
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
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

Command Line Tips and Tricks

The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it's worthwhile to learn the command line because it allows you to do a number of things that you otherwise cannot do from the GUI.  

Question has a verified solution.

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

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…
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

718 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