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...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 4571 - 4600 of 28238   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
4571
dear friend I am new to this group ....Pl. enrol me as a member of this group....I am MCA 2002 passout with around one year work exp ......... Pl. mail me as...
Niren Kumar
niren_patna
Offline Send Email
Aug 2, 2003
6:56 am
4572
I'm just getting started and hoping someone can point me in a good direction. For reference, our team will be using .NET (C#) for the development platform. ...
David Bosley
davidrbosley
Offline Send Email
Aug 4, 2003
1:19 am
4573
... Ideally, you want the code that actually works with the database to be kept separate from the rest of your code. Then you can test it against a test...
Colin Putney
colinputney
Offline Send Email
Aug 4, 2003
1:41 am
4574
Setting up a test database on the fly can get a bit unwieldly and slow. I have found that a stored procedure to remove the dynamic data (i.e. orders) whilst...
Chris Eyre
chriseyre2000
Offline Send Email
Aug 4, 2003
6:31 am
4575
Hi David, Ultimately you are going to have to test the database if it is part of your environment, but it is important to keep the business object tests and db...
Nicholas Robinson
NicholasRobi...
Offline Send Email
Aug 4, 2003
8:48 am
4576
... Writing tests is a pain. The only thing worse than writing tests is *not* writing tests. Teams that convert to TDD must continually check their ...
Robert Martin UncleBob
rmartinoma
Offline Send Email
Aug 4, 2003
1:20 pm
4577
... Check out FitNesse (http://fitnesse.org). This is a wiki/acceptance-test engine written in Java. It uses tables to run acceptance tests. The tests are...
Robert Martin UncleBob
rmartinoma
Offline Send Email
Aug 4, 2003
1:26 pm
4578
... FitNesse invokes FIT by using System.execute to fire off a new process. The FIT process that is invoked can be in any language. Thus, FitNesse can invoke...
Robert Martin UncleBob
rmartinoma
Offline Send Email
Aug 4, 2003
1:34 pm
4579
... From: "Robert Martin UncleBob" <unclebob.at.objectmentor.com@...> To: "'testdrivendevelopment@yahoogroups.com'" ...
yahoogroups@...
jhrothjr
Offline Send Email
Aug 4, 2003
6:07 pm
4580
I like Bill Wake's 3 A's "arrange, act, assert" to describe the structure of a test: * Create some objects and set them up * Invoke some methods * Check the...
J. B. Rainsberger
nails762
Offline Send Email
Aug 4, 2003
9:59 pm
4581
... Ones they've used before? New ones? I'm going with AAA. None of the As stretch far at all. And I think a good style guide might be to divide each test case...
Phlip
phlipcpp
Offline Send Email
Aug 4, 2003
10:11 pm
4582
Here's a problem that has been bugging me a bit due to the duplication (and bloat) of code that has been causing in my tests, and I'd like to know how other...
Noel Llopis
nllopis
Offline Send Email
Aug 4, 2003
11:34 pm
4583
... You have picked up the meme "faults are syntax errors". Ideally, at failure time, you hit <F4>, and the editor puts the cursor on the failing line. See...
Phlip
phlipcpp
Offline Send Email
Aug 4, 2003
11:49 pm
4584
... I have also struggled with this. I deal with it in two ways: I am not nearly as ruthless about removing duplication in my test code as I am in my...
Tony Milici
milici@...
Send Email
Aug 5, 2003
12:21 am
4585
... I forgot one theme in my post: I put asserts in both the extracted method, and around the call to that method. This lets me tap <F4> to see each inner...
Phlip
phlipcpp
Offline Send Email
Aug 5, 2003
12:30 am
4586
I'm not sure I understand the problem. When one of my tests fails, the framework gives me the test function name and a traceback. This is in Python, and I...
yahoogroups@...
jhrothjr
Offline Send Email
Aug 5, 2003
12:41 am
4587
... Bill and I stumbled upon the same pattern independently. I call it BuildOperateCheck or BOC. ...
Robert Martin UncleBob
rmartinoma
Offline Send Email
Aug 5, 2003
12:43 am
4588
... Do the exact opposite of what you tried. Pull all the test code up into a base class and use the TemplateMethod pattern. Each derivative will implement...
Robert Martin UncleBob
rmartinoma
Offline Send Email
Aug 5, 2003
12:47 am
4589
... I think the OP's test cases are already as far as this pattern: Any of the various macros called "assert" contains an __asm int 3;. That hard-codes a...
Phlip
phlipcpp
Offline Send Email
Aug 5, 2003
12:49 am
4590
... D'oh! That was where I was going with AbstractTest. (It also abstracts the thing that varies, not the thing that duplicates!) -- Phlip...
Phlip
phlipcpp
Offline Send Email
Aug 5, 2003
12:50 am
4591
... a ... of ... name. ... However, at failure time, the OP wants the information "I failed on this line, and we just opened >that< file". So either we put too...
Phlip
phlipcpp
Offline Send Email
Aug 5, 2003
12:55 am
4592
** Reply to message from "David Bosley" <D_BOSLEY@...> on Mon, 04 Aug 2003 01:19:54 -0000 ... I use both. I've gotten a lot of milage out of mocks for...
Jon Strayer
jstrayer2
Offline Send Email
Aug 5, 2003
2:49 am
4593
EXCITING CAREER!!! GOLDEN CHANCE WORK FROM HOME JOBS We Are An Excellent Resource For Legitimate Work at Home Jobs Work from Anywhere in India This Is An...
naukri jobs
naukri_20032003
Offline Send Email
Aug 5, 2003
9:29 am
4594
On Mon, 4 Aug 2003 16:45:58 -0700 ... Yes, I'm already doing that. ... Ah, that makes sense. I was leaning towards something like you described above, but...
Noel Llopis
nllopis
Offline Send Email
Aug 5, 2003
12:44 pm
4595
On Mon, 4 Aug 2003 20:41:34 -0400 ... The way I have it set up, every time I compile my code, the IDE also compiles the tests and then runs them as the final...
Noel Llopis
nllopis
Offline Send Email
Aug 5, 2003
12:50 pm
4596
On Mon, 4 Aug 2003 19:40:43 -0500 ... Ah, yes, that also makes lots of sense. Now I have to decide between that approach and the one Phlip suggested :-) I'll...
Noel Llopis
nllopis
Offline Send Email
Aug 5, 2003
12:52 pm
4597
... on ... FAILED ... could ... Think of the test code source file as a "programmer's user interface". UIs self-document, and provide short-cuts. The...
Phlip
phlipcpp
Offline Send Email
Aug 5, 2003
12:54 pm
4598
... Eeek! If you were typing source, your hands are on the keyboard, not the mouse! From the keyboard, tap <F4> to go to the offending line!! ... Read my...
Phlip
phlipcpp
Offline Send Email
Aug 5, 2003
12:58 pm
4599
... From: "Noel Llopis" <llopis.at.comcast.net@...> To: "testdrivendevelopment@yahoogroups.com" ...
yahoogroups@...
jhrothjr
Offline Send Email
Aug 5, 2003
1:10 pm
4600
... Agreed, except for this simple test: assertTrue(new ArrayList().isEmpty()); It was suggested to me always to write: Object expected = ...; Object actual =...
J. B. Rainsberger
nails762
Offline Send Email
Aug 5, 2003
1:48 pm
Messages 4571 - 4600 of 28238   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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