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...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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 29477 - 29506 of 32000   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
29477
All, I am working on JUnitMax, a project to maximize the utility of tests. The first release will help programmers stay focused by reducing the time required...
kentb
kentlbeck
Offline Send Email
Dec 1, 2008
4:38 pm
29478
Kent some questions that are likely to come up as I share this with people inside our organisation: 1) What is JUnitMax? I can't find anything on the web. 2)...
Mark Levison
marklevison
Offline Send Email
Dec 1, 2008
4:43 pm
29479
Hi everybody! I came across an interesting discussion on the [XP]-list yesterday, thought I'd restate my question/thoughts here! Do you know of free and...
Olof Bjarnason
olof.bjarnason@...
Send Email
Dec 2, 2008
8:15 pm
29480
Ndepend is your solution Casey Charlton http://devlicio.us/blogs/casey On 2 Dec 2008, at 20:15, "Olof Bjarnason" <olof.bjarnason@...> ... [Non-text...
Casey Charlton
caseycharlton69
Offline Send Email
Dec 2, 2008
8:46 pm
29481
Laurant once suggested that he just sorts the files in a project by size :-) I seem to that one of the refactoring plug-ins had a measurement tool (CodeRush or...
Mark Levison
marklevison
Offline Send Email
Dec 2, 2008
9:20 pm
29482
A while ago John Carter mentioned what he called the "Churn Metric" on the Refactoring and XP mailing lists: ...
Kaleb Pederson
kaleb_pederson
Offline Send Email
Dec 2, 2008
9:37 pm
29483
... Yes, but there's a little more to it than that. See http://www.bossavit.com/pivot/pivot/entry.php?id=289 Laurent's excellent heuristics. - George -- ... *...
George Dinwiddie
gdinwiddie
Offline Send Email
Dec 2, 2008
11:38 pm
29484
For Java: The Crap4J tool (http://www.crap4j.org) gives a rough but useful metric. It relies on cyclomatic complexity, so it's not that helpful for...
Nat Pryce
nat_pryce
Offline Send Email
Dec 3, 2008
5:43 am
29485
Hello Nat, ... I know this is not the point of the thread, nor your email. But can you explain the above statement? One of the goals of OO is to help...
Joselito D. Moreno
joenm
Offline Send Email
Dec 3, 2008
5:04 pm
29486
I have this legacy megafunction, written in C. (I'm embarrassed to admit I wrote it many years ago.) The operation of this function is to read a file, and...
Alan Baljeu
alanbaljeu
Offline Send Email
Dec 3, 2008
7:51 pm
29487
Hi, Alan, ... 1) find a way to serialize your data structure, if not already extant; 2) write some example (non-unit) tests that give you fair coverage; 3)...
Carl Manaster
cmanaster
Offline Send Email
Dec 3, 2008
8:18 pm
29488
... Measuring CC will tell you how complex a method is. If you have complex methods in OO code, that is a very bad thing. However, this is just scratching the...
Adam Sroka
adamjaph
Offline Send Email
Dec 3, 2008
9:10 pm
29489
Thanks for all answers!...
Olof Bjarnason
olof.bjarnason@...
Send Email
Dec 3, 2008
9:29 pm
29490
Cyclometric complexity defines how complex a single method is by measuring how many paths there are through the procedural control flow statements in that...
Nat Pryce
nat_pryce
Offline Send Email
Dec 3, 2008
10:25 pm
29491
I would try to start with two tests - one "happy path" test, and a test that sets up the conditions to provoke the bug. One test should pass, and the other...
Keith Ray
attkeithray
Offline Send Email
Dec 3, 2008
11:42 pm
29492
... You can't work with a megafunction reliably. That is the nature of megafunctions. They're subsystems or maybe systems unto themselves. Get a good partner,...
Tim Ottinger
linux_tim
Online Now Send Email
Dec 4, 2008
2:48 pm
29493
... I recently did much the same thing to a similar sounding piece of code that *I* originally wrote. What I did was first go through and extract out any piece...
Brad Stiles
bradley.stiles@...
Send Email
Dec 4, 2008
4:18 pm
29494
As much as I believe what I said, what Keith says here is also correct and may be the more pragmatic view. Look at M.Feathers' book and you'll see that there...
Tim Ottinger
linux_tim
Online Now Send Email
Dec 4, 2008
8:18 pm
29495
I forgot to say thanks for all the feedback. Its been useful to a colleague who is talking to her uber manager about the short term effects that adopting TDD...
Mark Levison
marklevison
Offline Send Email
Dec 4, 2008
9:07 pm
29496
Thanks Tim and everyone for your suggestions. Unfortunately right now I'm overwhelmed by this feeling that writing tests will take "forever" when I could just...
Alan Baljeu
alanbaljeu
Offline Send Email
Dec 4, 2008
9:12 pm
29497
... That's okay. THe quote is "Don't despair, but if you do despair work on in despair." Try to split out the minimal bits and test them. It may be that the ...
Tim Ottinger
linux_tim
Online Now Send Email
Dec 4, 2008
9:13 pm
29498
Hi, Alan, ... and ... Obviously, I can't know the right answer for your specific issue, and I don't mean to contradict you. I'm just trying to offer what I...
Carl Manaster
cmanaster
Offline Send Email
Dec 4, 2008
9:28 pm
29499
Oh, please say you'll resist the dark side and at least do the 2 tests (happy path + bug reproducer). Inspire me! :) Al...
Al Chou
HotFusionMan
Offline Send Email
Dec 4, 2008
9:30 pm
29500
I currently believe 1) Fixing the bug requires dramatic changes to the function. 2) Careful changes might not break anything but it's hard to tell because...
Alan Baljeu
alanbaljeu
Offline Send Email
Dec 4, 2008
9:37 pm
29501
Hi, Alan, ... For my part, I can't get anything "dramatic" done in an hour or two. And I'd worry a lot about ... A "dramatic" change that I "just snipped,...
Carl Manaster
cmanaster
Offline Send Email
Dec 4, 2008
9:43 pm
29502
I've been in the situation where writing a test seemed to take way too long. And I've also been in the situation where snip/tuck/rearrange etc. SEEMS like it...
Keith Ray
attkeithray
Offline Send Email
Dec 5, 2008
12:34 am
29503
Alan; First I recommend Michael Feathers "Working Effectively with Legacy Code". It is the bible when it comes to fixing bugs in large functions. I can...
Olof Bjarnason
olof.bjarnason@...
Send Email
Dec 5, 2008
7:27 am
29504
Alan, FWIW, I want to chime in with the idea of writing several characterization tests, preferably based on several real-world input data sets which both do ...
Walter Prins
bytejuggler
Offline Send Email
Dec 5, 2008
12:37 pm
29505
There's a recent article from MS research which claims that "the pre- release defect density of the four products decreased between 40% and 90% relative to...
Steve Freeman
smg_freeman
Offline Send Email
Dec 8, 2008
12:13 am
29506
Alrighty then. I have seen Michael's book recommended soo many times now, I given in. I'll order it. As for the function in question, I caved. I did a bit...
Alan Baljeu
alanbaljeu
Offline Send Email
Dec 9, 2008
8:48 pm
Messages 29477 - 29506 of 32000   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