... Post here - because we need less NUnit..! :) Abraços, Josué. ... [Non-text portions of this message have been removed]...
25435
kumbhkaran_21
Sep 4, 2007 7:09 pm
I have a feature to implement- charge credit card of customer,when a daily cron runs,and finds not enough balance in customers account.Now,how can I go about...
25436
Charlie Poole
cpoole98370
Sep 4, 2007 7:54 pm
I would create a façade class to interface with the PaymentGateway. It should have only methods you need and deal only with those gateway calls that you need...
25437
geoffrey_slinker
geoffrey_sli...
Sep 5, 2007 2:56 am
... I have worked in this area before. Your Payment Gateway should provide a test server. Often there is a different Webservice or Port. Talk to your Payment...
25438
Donaldson, John (GEO)
geo_johnfr
Sep 5, 2007 6:56 am
Yes, certainly create a façade to the gateway. To do the 'study39; as you call it (often called a spike), do it as a piece of TDD. That is, call out to the...
25439
Gojko Adzic
gojko_lastname
Sep 5, 2007 1:09 pm
A new binary release of DbFit is now on available. Grab it from https://sourceforge.net/project/showfiles.php?group_id=191053&package_id=224326 DbFit is an...
25440
Joseph Gutierrez
gutzofter
Sep 5, 2007 2:29 pm
Anybody have any experience with an integration framework for Ruby? I have found that unit testing does not pin down the interaction of the objects enough. ...
25441
Tennis Smith
tennis_smith
Sep 5, 2007 4:21 pm
Hi Philip, Thanks for the reply. See inline. -T [TNS] <snip> ... We need to start by narrowing the terms down. A test _case_ is a function that Assembles test...
25442
Phlip
phlipcpp
Sep 5, 2007 5:00 pm
[Tip: learn to use your editor's reply-ticks feature!] ... One important design goal is "DRY" code. That means Don't Repeat Yourself. The source code you...
25443
Phlip
phlipcpp
Sep 6, 2007 12:56 am
... Firstly, we do "developer tests". The strict definition of "unit test" implies you only need to search one unit to find the cause for a test failure....
25444
Rob Park
rpark68
Sep 6, 2007 2:27 am
I apologize if this is the wrong forum. Please redirect me if necessary. Just thought 1 of you might know. If I want to build .NET 3.5 code (e.g. LINQ, etc)...
25445
Bil Simser
sim0099
Sep 6, 2007 2:40 am
I use the csc task which works fine in 2.0. For 3.5 I swapped it out temporarily with an <exec> task and it just calls the command line compiler. You can go...
25446
Joseph Gutierrez
gutzofter
Sep 6, 2007 2:52 am
Philip, Thank you! I see what you mean about violating LSP. I tried to figure out what led me down this path, it looks like it was state based testing. I redid...
25447
Brady Kelly
bradyklly
Sep 6, 2007 11:41 am
Whew. After a long sojourn maintaining repeated, predictable legacy code in a scenario where TDD is impractical, I finally get to develop some of my own code...
25448
Brad Stiles
bradley.stiles@...
Sep 6, 2007 11:55 am
... NAnt also calls MSBuild without any problems. :) At least in 2.0. /bs...
25449
Matt Heusser
heusserm
Sep 6, 2007 12:10 pm
... (Phillip makes some comments about the difference between the unit/integration/system/acceptance concept and the "developer facing/customer facing"...
25450
kumbhkaran_21
Sep 6, 2007 5:29 pm
I have a feature to implement,which involves series of steps to be performed.Its a system action,initiated by another system action(a cron).We have started...
25451
kumbhkaran_21
Sep 6, 2007 5:31 pm
We are writing test first.But the feature we are implementing,we need to touch the database too.Now,instead of using an interface,and mocks,we are actually...
25452
michaelgburton
Sep 6, 2007 6:04 pm
... Tests which touch the database and tests which mock the database are different in kind, and very likely you will need some of each. Most people write both...
25453
Charlie Poole
cpoole98370
Sep 6, 2007 7:32 pm
Hi Kumbhkaran, ... Normally, I would test 1) Each step 2) The object that sequences steps (using dummy steps or mocks) 3) The object that tells the sequencer...
25454
Corey Haines
coreyhaines
Sep 7, 2007 3:08 am
We have NAnt calling msbuild to compile our csproj files. It works great. I haven't totally learned msbuild, yet, but I am not in any rush, since I agree that...
25455
Joseph Gutierrez
gutzofter
Sep 7, 2007 4:33 am
The file is called 'test_duck_squeezer.rb'. As you can tell all three tests pass, but if I was to run these three in deployment, I would fail. It is because of...
25456
kumbhkaran_21
Sep 7, 2007 6:58 pm
Hi, We are writing unit tests for database access calls,against development database,located on a server.This database is shared by all developers.Is this a...
25457
Bob Koss
rskoss
Sep 7, 2007 7:10 pm
... You should try to use a test double for your database as much as possible. For the tests where you really need a database, it's best if each developer has...
25458
Adam Dymitruk
adymitruk
Sep 7, 2007 7:34 pm
Each developer should have the entire solution - including database - on their local machine. A new developer should be able to be up and running within...
25459
Avi Naparstek
avinap77
Sep 8, 2007 1:26 pm
... database ... I think if you alrerady have the shared server you should first try using it. For many scenarios it should work OK. if and when you run into...
25460
paul_s_harrington
paul_s_harri...
Sep 8, 2007 3:00 pm
Hi, I read the posts in this group with interest and I've had some great advice in the past on TDD & agile/xp. Sorry as it's a bit off topic but I'm having...
25461
Andrew Badera
andrewbadera
Sep 8, 2007 3:04 pm
Do you have all the Vista updates for Visual Studio? there's at least one patch ... I've had no difficulty installing VS2005 Pro from original media to Vista ...
25462
Phlip
phlipcpp
Sep 8, 2007 3:09 pm
... problems. Yep. ... Nope. I'm just doing it for Rails, via Ruby on Steel, because Netbeans is so freaking slow and fragile. I'm sure MS won't have those...
25463
Cory Foy
cory_foy
Sep 8, 2007 4:07 pm
... Are you installing it from a CD/DVD or on your hard drive? I looked through our KB and saw one case where someone was running into this when installing...