I'm working in Visual Studio 2005 Team Edition for Software Developers
I've used the wizard under the Test menu to create a bunch of unit tests.
When I click "Test -Start Selected Test Project with Debugger" the tests
run.
I'd really like to create a WinForm User Interface to run the Unit Tests.
The idea would be to give the user a list of Unit Tests in a table, and let
the user select any combination of tests they like. The user then clicks Run,
the tests run, and the user sees the results.
My first thought is to have the WinForm project generate a batch file that
runs the selected tests using MSTest at the command line.
Before I go down this road, can anyone point me toward articles or ideas on
better ways to do this? This approach seems awfully 15 years ago.
Thanks,
Randy 5 2822
randy1200 <ra*******@discussions.microsoft.comwrote:
I'm working in Visual Studio 2005 Team Edition for Software Developers
I've used the wizard under the Test menu to create a bunch of unit tests.
When I click "Test -Start Selected Test Project with Debugger" the tests
run.
I'd really like to create a WinForm User Interface to run the Unit Tests.
The idea would be to give the user a list of Unit Tests in a table, and let
the user select any combination of tests they like. The user then clicks Run,
the tests run, and the user sees the results.
My first thought is to have the WinForm project generate a batch file that
runs the selected tests using MSTest at the command line.
Before I go down this road, can anyone point me toward articles or ideas on
better ways to do this? This approach seems awfully 15 years ago.
I guess my first question would be why you want to do it in the first
place. What does VS not do that you want to do?
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
randy1200 wrote:
I'm working in Visual Studio 2005 Team Edition for Software Developers
I've used the wizard under the Test menu to create a bunch of unit tests.
When I click "Test -Start Selected Test Project with Debugger" the tests
run.
I'd really like to create a WinForm User Interface to run the Unit Tests.
The idea would be to give the user a list of Unit Tests in a table, and let
the user select any combination of tests they like. The user then clicks Run,
the tests run, and the user sees the results.
My first thought is to have the WinForm project generate a batch file that
runs the selected tests using MSTest at the command line.
Before I go down this road, can anyone point me toward articles or ideas on
better ways to do this? This approach seems awfully 15 years ago.
Thanks,
Randy
Have you thought about using another unit test runner? NUnit can run
MSTest unit tests and its UI offers the possibility to select tests as
you describe it.
Testdriven.net has no UI, but is highly integrated and lets you run
tests on method, class, file, folder project and solution level.
HTH,
Andy
--
You can email me by removing the NOSPAM parts below: xm**********@gmxNOSPAM.net
On Oct 24, 11:11 pm, Andreas Mueller <m...@privacy.netwrote:
<snip>
Have you thought about using another unit test runner? NUnit can run
MSTest unit tests and its UI offers the possibility to select tests as
you describe it.
Testdriven.net has no UI, but is highly integrated and lets you run
tests on method, class, file, folder project and solution level.
There's also the free unit test runner from JetBrains (http:// www.jetbrains.com/unitrun/ - it's hard to find on the web site, IME!).
It's not quite as good as the one in the full edition of ReSharper,
which is *well* worth getting IMO, but hey, it's free :)
Unfortunately I believe MSTest tests aren't supported - at least not
yet!
Jon
There are people around here who don't have Visual Studio who want to be able
to run tests. Writing a WinForm front end for Unit Tests created in Visual
Studio should not be a big deal. I find it hard to believe I'm the first
person to go down this road, so I thought there might be some articles or
insights on the subject.
"Jon Skeet [C# MVP]" wrote:
randy1200 <ra*******@discussions.microsoft.comwrote:
I'm working in Visual Studio 2005 Team Edition for Software Developers
I've used the wizard under the Test menu to create a bunch of unit tests.
When I click "Test -Start Selected Test Project with Debugger" the tests
run.
I'd really like to create a WinForm User Interface to run the Unit Tests.
The idea would be to give the user a list of Unit Tests in a table, and let
the user select any combination of tests they like. The user then clicks Run,
the tests run, and the user sees the results.
My first thought is to have the WinForm project generate a batch file that
runs the selected tests using MSTest at the command line.
Before I go down this road, can anyone point me toward articles or ideas on
better ways to do this? This approach seems awfully 15 years ago.
I guess my first question would be why you want to do it in the first
place. What does VS not do that you want to do?
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
On Oct 25, 2:01 pm, randy1200 <randy1...@discussions.microsoft.com>
wrote:
There are people around here who don't have Visual Studio who want to be able
to run tests. Writing a WinForm front end for Unit Tests created in Visual
Studio should not be a big deal. I find it hard to believe I'm the first
person to go down this road, so I thought there might be some articles or
insights on the subject.
I guess the reason it's not common is that unit tests don't normally
mean much to non-developers. Are your unit tests actually acceptance
tests etc? (Not that it's a bad idea to write those with a unit test
tool...)
To echo the comments of others, using NUnit you'd be able to run
NUnitGUI, although that's far from pleasant.
Jon This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Edvard Majakari |
last post by:
Hi all ya unit-testing experts there :)
Code I'm working on has to parse large and complex files and detect
equally complex and large amount of errors before the contents of the file
is fed to...
|
by: |
last post by:
Hi!
I'm looking for unit-testing tools for .NET.
Somthing like Java has --> http://www.junit.org
regards,
gicio
|
by: Jacob |
last post by:
I have compiled a set og unit testing
recommendations based on my own experience
on the concept.
Feedback and suggestions for improvements
are appreciated:
...
|
by: Michael Bray |
last post by:
I've just inherited a fairly large project with multiple classes. The
developer also wrote a huge number of unit tests (using NUnit) to validate
that the classes work correctly. However, I don't...
|
by: HeatherBMI |
last post by:
I've been searching for a way to test this control with my NUnitASP tests for awhile now and have yet to come up with anything. I have all of my tests written, but until I can get past the initial...
|
by: shuisheng |
last post by:
Dear All,
I was told that unit test is a powerful tool for progamming. If I am
writing a GUI code, is it possible to still using unit test?
I have a little experience in using unittest++. But...
|
by: nw |
last post by:
Hi,
I previously asked for suggestions on teaching testing in C++. Based
on some of the replies I received I decided that best way to proceed
would be to teach the students how they might write...
|
by: Richard Lewis Haggard |
last post by:
We're using VS05 and today the units tests have stopped working in our
development environment. I'm sure that it is something really silly and
simple but I'll be darned if I can figure out what it...
|
by: Vyacheslav Maslov |
last post by:
Hi all!
I have many many many python unit test, which are used for testing some
remote web service.
The most important issue here is logging of test execution process and
result. I strongly...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |