VS 2008 - test driven?
am 28.01.2008 11:23:49 von roger.pearseHello,
Can anyone tell me whether VS 2008 has test-driven development
facilities in it? If so, in which versions?
Thanks,
Roger Pearse
Hello,
Can anyone tell me whether VS 2008 has test-driven development
facilities in it? If so, in which versions?
Thanks,
Roger Pearse
IIRC, 2008 Pro has the test tools included (it used to be Team System
upwards for 2005).
Or perhaps consider NUnit which would work for all.
Marc
On Jan 28, 10:39=A0am, "Marc Gravell"
> IIRC, 2008 Pro has the test tools included (it used to be Team System
> upwards for 2005).
>
> Or perhaps consider NUnit which would work for all.
I remember that it used to be in Team System, which was ridiculously
costly. I've verified that it isn't in the Express 2008 edition.
The problem with NUnit for those of us coming to it from Eclipse and
JUnit is the lack of proper IDE integration.
All the best,
Roger Pearse
"Marc Gravell"
news:ufeYsmZYIHA.3400@TK2MSFTNGP03.phx.gbl...
> IIRC, 2008 Pro has the test tools included (it used to be Team System
> upwards for 2005).
Yes, unit testing is now incorporated into VS2008 Professional and upwards.
Just add a test project to your solution and start writing your tests (subs
tagged with
make the unit tests work.
--
Leon Mayne
http://leon.mvps.org/
roger.pearse@googlemail.com
> The problem with NUnit for those of us coming to it from Eclipse and
> JUnit is the lack of proper IDE integration.
I know what you mean - but ReSharper is very good. It's quite
expensive, but a really good addition. It also adds various other
things that you may be used to from Eclipse like "Open Type" and "Open
File" (i.e. with appropriate autocomplete) - very handy :)
--
Jon Skeet -
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
On Jan 28, 5:03=A0pm, "Leon Mayne"
> "Marc Gravell"
>
> news:ufeYsmZYIHA.3400@TK2MSFTNGP03.phx.gbl...
>
> > IIRC, 2008 Pro has the test tools included (it used to be Team System
> > upwards for 2005).
>
> Yes, unit testing is now incorporated into VS2008 Professional and upwards=
..
> Just add a test project to your solution and start writing your tests (sub=
s
> tagged with
> make the unit tests work.
That's great -- thank you.
All the best,
Roger Pearse
On Jan 28, 7:24=A0pm, Jon Skeet [C# MVP]
> roger.pea...@googlemail.com
>
>
>
> > The problem with NUnit for those of us coming to it from Eclipse and
> > JUnit is the lack of proper IDE integration.
>
> I know what you mean - but ReSharper is very good. It's quite
> expensive, but a really good addition. It also adds various other
> things that you may be used to from Eclipse like "Open Type" and "Open
> File" (i.e. with appropriate autocomplete) - very handy :)
Interesting, and I like the sound of that. I'm interested for VB.NET,
but I see this supports it.
But $200, tho... ouch! That's actually more than VS 2008 Pro costs on
Ebay. I think that they will have to drop their prices seriously now.
All the best,
Roger Pearse
roger.pearse@googlemail.com
> Interesting, and I like the sound of that. I'm interested for VB.NET,
> but I see this supports it.
>
> But $200, tho... ouch! That's actually more than VS 2008 Pro costs on
> Ebay. I think that they will have to drop their prices seriously now.
Well, it's not a case of one or the other. There's much more to
ReSharper than just the unit test stuff. (I'd also be somewhat
concerned about the legality of any copies of VS 2008 Pro on Ebay - in
particular it's unlikely that most *companies* would feel comfortable
buying software in that way.)
--
Jon Skeet -
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
roger.pearse@googlemail.com wrote:
> On Jan 28, 10:39 am, "Marc Gravell"
>> IIRC, 2008 Pro has the test tools included (it used to be Team System
>> upwards for 2005).
>>
>> Or perhaps consider NUnit which would work for all.
>
> I remember that it used to be in Team System, which was ridiculously
> costly. I've verified that it isn't in the Express 2008 edition.
>
> The problem with NUnit for those of us coming to it from Eclipse and
> JUnit is the lack of proper IDE integration.
TestDriven.NET
Alun Harford
On Jan 28, 8:27=A0pm, Alun Harford
> roger.pea...@googlemail.com wrote:
> > On Jan 28, 10:39 am, "Marc Gravell"
> >> IIRC, 2008 Pro has the test tools included (it used to be Team System
> >> upwards for 2005).
>
> >> Or perhaps consider NUnit which would work for all.
>
> > I remember that it used to be in Team System, which was ridiculously
> > costly. =A0I've verified that it isn't in the Express 2008 edition.
>
> > The problem with NUnit for those of us coming to it from Eclipse and
> > JUnit is the lack of proper IDE integration.
>
> TestDriven.NET
I'm afraid that I don't consider this qualifies as 'proper IDE
integration', compared with Eclipse. I know it was a great advance in
its day, but it's laughable compared to what Java people take for
granted. There's no instrinsic reason why tools for VS shouldn't be
just as good, and Testdriven.NET isn't. And nor is TestMatrix.
All the best,
Roger Pearse
On Jan 28, 8:18=A0pm, Jon Skeet [C# MVP]
> roger.pea...@googlemail.com
>
>
>
> > Interesting, and I like the sound of that. =A0I'm interested for VB.NET,=
> > but I see this supports it.
>
> > But $200, tho... ouch! =A0That's actually more than VS 2008 Pro costs on=
> > Ebay. =A0I think that they will have to drop their prices seriously now.=
>
> Well, it's not a case of one or the other. There's much more to
> ReSharper than just the unit test stuff.
For me it is purely a question of TDD, tho.
> (I'd also be somewhat concerned about the legality of any copies of VS 200=
8
> Pro on Ebay - in particular it's unlikely that most *companies* would feel=
> comfortable buying software in that way.)
I'm sure that you're right, although I personally wouldn't worry a
bit. But in these days when Eclipse, Java, Jboss, J2EE are all free,
I would hate to have to sell to a company the idea of *buying*
development tools anyway.
All the best,
Roger Pearse
> I would hate to have to sell to a company the idea of *buying*
> development tools anyway.
While I am familiar with this view, I've never fully understood it...
at the professional level, dev tools are essentially tools of the
trade, the same as tools in many other professions. I know that there
are some good free tools out there, but why do programmers/managers so
often expect everything for free, yet expect to be able to sell their
own product / service?
This is just a rhetorical ponder...
Marc
"Marc Gravell"
news:uzVWBroYIHA.5132@TK2MSFTNGP02.phx.gbl...
>> I would hate to have to sell to a company the idea of *buying*
>> development tools anyway.
>
> While I am familiar with this view, I've never fully understood it... at
> the professional level, dev tools are essentially tools of the trade, the
> same as tools in many other professions. I know that there are some good
> free tools out there, but why do programmers/managers so often expect
> everything for free, yet expect to be able to sell their own product /
> service?
Agreed. Also, Visual Studio is (in my opinion) the best IDE in the world.
Nothing else comes close. There are free versions for people doing small
personal projects, and professional outfits who are set to profit from their
development efforts should have the money to pay for the correct tools for
the job.
Leon Mayne
> "Marc Gravell"
> news:uzVWBroYIHA.5132@TK2MSFTNGP02.phx.gbl...
> >> I would hate to have to sell to a company the idea of *buying*
> >> development tools anyway.
> >
> > While I am familiar with this view, I've never fully understood it... at
> > the professional level, dev tools are essentially tools of the trade, the
> > same as tools in many other professions. I know that there are some good
> > free tools out there, but why do programmers/managers so often expect
> > everything for free, yet expect to be able to sell their own product /
> > service?
>
> Agreed. Also, Visual Studio is (in my opinion) the best IDE in the world.
> Nothing else comes close. There are free versions for people doing small
> personal projects, and professional outfits who are set to profit from their
> development efforts should have the money to pay for the correct tools for
> the job.
Have you done much Java development and used Eclipse and IDEA? I don't
personally like IDEA, but Eclipse is well ahead in my view when it
comes to productivity for writing code.
Visual Studio has a lot more designers etc, but in the plain text
editor, I prefer Eclipse for various reasons. (Search for Eclipse in my
blog for examples.) ReSharper brings VS a lot closer, and VS2008 is
another improvement over VS2005 which was undoubtedly leaps and bounds
ahead of VS2003 - but it's still not quite there IMO. Nice to see we've
finally got "sort and remove unused using directives" though - only
about 6 years after Eclipse ;)
--
Jon Skeet -
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
On 30/01/2008 in message
Jon Skeet [C# MVP] wrote:
>Nice to see we've
>finally got "sort and remove unused using directives" though
But still no '#include' in C# :-(
--
Jeff Gaines
"Jon Skeet [C# MVP]"
news:MPG.220a4ad28c70a495856@msnews.microsoft.com...
> Have you done much Java development and used Eclipse and IDEA? I don't
> personally like IDEA, but Eclipse is well ahead in my view when it
> comes to productivity for writing code.
I only used Eclipse briefly when it was in its infancy. I was moved onto
JDeveloper by my employer, because that's what the team was using.
JDeveloper wasn't too bad.
> Visual Studio has a lot more designers etc, but in the plain text
> editor, I prefer Eclipse for various reasons. (Search for Eclipse in my
> blog for examples.) ReSharper brings VS a lot closer, and VS2008 is
> another improvement over VS2005 which was undoubtedly leaps and bounds
> ahead of VS2003 - but it's still not quite there IMO. Nice to see we've
> finally got "sort and remove unused using directives" though - only
> about 6 years after Eclipse ;)
Removing unused imports is something that should have been in Visual Studio
from 1.0. As you said, Eclipse has it, and so did JDeveloper.