Search the web
Sign In
New User? Sign Up
testdrivendevelopment · Test-driven Development
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 30104 - 30133 of 32012   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
30104
Moq. If you're new to mocking and TDD in general I can't think of an easier way to get started - simple, elegant library that does just enough. Generally I...
Matt Burton
matt.burton
Offline Send Email
Feb 1, 2009
9:26 am
30105
Haha Matt, a very interesting perspective I agree with (I'm pro-KISS too). So far nMock seems to be simple enough too. It doesn't obligate me to do fancy stuff...
Axonn
theaxonn
Offline Send Email
Feb 1, 2009
10:47 am
30106
nMock is probably the worst of all the mocking frameworks under .Net ... Rhino and Moq are both superior in every way ... Moq probably has the edge due to...
Casey Charlton
caseycharlton69
Offline Send Email
Feb 1, 2009
10:55 am
30107
Apparently I can only mock interfaces in nMock. Are the other frameworks allowing me to mock classes too? Or I'm making a grave logic mistake by assuming this....
Axonn
theaxonn
Offline Send Email
Feb 1, 2009
12:03 pm
30108
"Rhino Mocks supports mocking classes as well as interfaces. In fact, it can even mock classes that don't have a default constructor! " Nevermind, I answered...
Axonn
theaxonn
Offline Send Email
Feb 1, 2009
12:10 pm
30109
Because if you need to mock a concrete class, your SUT must have a concrete dependency on that class- and this is a testability and maintainability issue ... ...
Casey Charlton
caseycharlton69
Offline Send Email
Feb 1, 2009
12:14 pm
30110
Well, I already learned how to use a mocking framework, but I'm reluctant to build so many interfaces. I know that my data layer is never going to change for a...
Axonn
theaxonn
Offline Send Email
Feb 1, 2009
12:31 pm
30111
I'm curious about this approach as it would seem to alleviate some of the nuisance related to navigating from test project to 'actual' project during the usual...
Stephen Bohlen
stephen.bohlen
Offline Send Email
Feb 1, 2009
1:49 pm
30112
I have never run into a technology where the same codebase cannot be built differently for deployment and for testing....
Steven Gordon
sfman2k
Offline Send Email
Feb 1, 2009
4:14 pm
30113
you can mock classes with virtual methods using rhino mocks and moq, don't know about nmock. TypeMock can do what you need, i guess but i advise you to have...
Tuna Toksoz
mutlaksifir
Offline Send Email
Feb 1, 2009
6:07 pm
30114
Hi Axxon, ... Here's a screencast on testing abstract classes with Rhino Mocks - http://dimecasts.net/Content/WatchEpisode/20 Ken...
Ken Mccormack
kenno_mac
Offline Send Email
Feb 1, 2009
6:08 pm
30115
rhino and moq will allow you to create fake instances of classes as long as they are not sealed, and you can fake methods that are virtual on those classes. if...
Roy Osherove
royosherove
Offline Send Email
Feb 1, 2009
6:08 pm
30116
+1 - the docs are key. Rhino is a great framework but Casey hit the nail on the head - the simplicity of the Moq API plus the great docs will basically force...
Matt Burton
matt.burton
Offline Send Email
Feb 1, 2009
6:08 pm
30117
Both Moq and Rhino Mocks use Castle project's DynamicProxy implementation for proxying types which means you can mock interfaces, abstract classes, and virtual...
Matt Burton
matt.burton
Offline Send Email
Feb 1, 2009
6:08 pm
30118
... How to do it depends on the environment, but in almost all of the IDEs I've used, you can have separate projects into which you add either test source code...
Keith Ray
attkeithray
Offline Send Email
Feb 1, 2009
8:55 pm
30119
... As some have mentioned most IDE’s will allow you to configure exactly what you want to deploy. I would just like to mention that some projects...
Lior Friedman
friedmanlior
Offline Send Email
Feb 1, 2009
9:28 pm
30120
http://xprogramming.com/blog/2009/02/01/quality-speed-tradeoff-youre-kidding-yourself/ Ron Jeffries www.XProgramming.com www.xprogramming.com/blog Fatalism is...
Ron Jeffries
ronaldejeffries
Offline Send Email
Feb 1, 2009
10:11 pm
30121
Hi, I've finished the maven plugin for trinidad, which enables you to run fitnesse fit/slim tests for java in process without starting the server and...
Gojko Adzic
gojko_lastname
Offline Send Email
Feb 2, 2009
12:39 am
30122
... Thank you for putting it so bluntly. Nicely done.....
Gishu Pillai
gishu_pillai
Offline Send Email
Feb 2, 2009
6:56 am
30123
ReSharper means, I don't have any problems with navigation due to separate projects ... no other reason I can think of to combine them unless you want your...
Casey Charlton
caseycharlton69
Offline Send Email
Feb 2, 2009
9:29 am
30124
It's very easy to create a solution with two projects. One project is tests, and the other is production, but both are open. There's no need to toggle...
Alan Baljeu
alanbaljeu
Offline Send Email
Feb 2, 2009
12:29 pm
30125
Hello everybody. I am wondering how to do an Assert in nUnit when I got a method which returns a DataTable (or DataSet). There are C# classes which are usually...
Axonn
theaxonn
Offline Send Email
Feb 2, 2009
12:44 pm
30126
... What are you trying to Assert? I get the impression that you've already written some code, without having first written a test, else you would not have a...
Brad Stiles
bradley.stiles@...
Send Email
Feb 2, 2009
1:07 pm
30127
Brad - I think a more appropriate forum for NUnit-specific questions is the nunit-discuss mailing list: http://groups.google.com/group/nunit-discuss ... -- Min...
Olof Bjarnason
olof.bjarnason@...
Send Email
Feb 2, 2009
1:35 pm
30128
My fault, sorry. I will. Brad: no, no code yet. But I will have a method which has to receive a DataTable parameter to be tested, you see? And depending on...
Axonn
theaxonn
Offline Send Email
Feb 2, 2009
2:16 pm
30129
... How do you know you'll have a method that receives a DataTable and returns another? I'm not saying you won't need it, as I can imagine knowing that...
Brad Stiles
bradley.stiles@...
Send Email
Feb 2, 2009
3:08 pm
30130
Brad/Axonn In Kent Becks book he uses the following rule of thumb, when writing a single unit test "Write the Assert first" So given the following [Test] ...
Olof Bjarnason
olof.bjarnason@...
Send Email
Feb 2, 2009
3:16 pm
30131
But still nobody answered my original question ::- ). I also asked on the Google group but it seems a bit dormant. I suppose many of you tried to use nUnit...
Axonn
theaxonn
Offline Send Email
Feb 2, 2009
3:52 pm
30132
... What do you want to assert about the data set? That it has a certain size? That it has certain values in its cells? Call the methods of the data set that...
nat_pryce
Offline Send Email
Feb 2, 2009
4:01 pm
30133
Once upon a time, I wrote a system that manipulated DataTables and used that manipulation for testing. The result looks like this: [Test] public void...
Alan Baljeu
alanbaljeu
Offline Send Email
Feb 2, 2009
4:18 pm
Messages 30104 - 30133 of 32012   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help