Re: Examples of TDD/Junit antipatterns
Hi Pooja
Check out the Meszaros book "xUnit Test Patterns" and the concept of "Obscure Test".
Obscure Test at XUnitPatterns.com http://xunitpatterns.com/Obscure%20Test.html
Obscure Test at
By
kenmccormack@...
·
#35660
·
|
Re: [TDD] Examples of TDD/Junit antipatterns
It's been 10+ years of TDD, so people have had similar questions in the
past. Search and you shall find :)
http://stackoverflow.com/questions/333682
By
Gishu
·
#35659
·
|
Examples of TDD/Junit antipatterns
A BIG thanks to all who responded to my earlier post. During our discussion, we had this topic on TDD/Junit antipatterns. We did a bit of study and research on our own and are looking for examples
By
Pooja Wandile
·
#35658
·
|
Re: [TDD] Suggestion, advice on TDD adoption
Thanks Ken. It will really help if you could share some of your learnings.
-Pooja
By
Pooja Wandile
·
#35657
·
|
Re: [TDD] Suggestion, advice on TDD adoption
There are many good ideas here. Try some of them. But keep this in the back
of your mind:
Management cannot create a team. A coach cannot create a team. Only the
team can create itself. What you can
By
Charlie Poole
·
#35656
·
|
Re: [TDD] Suggestion, advice on TDD adoption
By
Al Chou
·
#35655
·
|
Re: [TDD] Suggestion, advice on TDD adoption
If you have the time, and can't find local coaches, assigning one member of
your team to teach a session, and then rotating , could also help. I find
teaching is often a great way to learn, and also
By
Avi Kessner
·
#35654
·
|
Re: [TDD] Suggestion, advice on TDD adoption
pooja,
Not sure where you are located, but it might be worth looking into what
local resources are available.
Is there a Scrum or Agile Meetup (or Users Group)? If so, encourage your
coworkers to
By
Steve Gordon
·
#35653
·
|
Re: [TDD] Suggestion, advice on TDD adoption
Yes, +1 to Adam
I did some coaching work last year, lots of scrum teams, we had great fun, happy to share a few learnings from that, there were a few things that really worked. What are you
By
kenmccormack@...
·
#35652
·
|
Re: [TDD] Suggestion, advice on TDD adoption
[testdrivendevelopment] <testdrivendevelopment@...> wrote:
While I don¡¯t disagree with this, the kind of coaching being described is
expensive and people who can do it well are rare. It
By
Adam Sroka
·
#35651
·
|
Re: [TDD] Suggestion, advice on TDD adoption
This is really a key. Without a coach, you are going to wind up trying things, not understanding why they don¡¯t work, and largely reinventing a lot of practices. A coach can save you an incredible
By
Russell Gold
·
#35650
·
|
Re: [TDD] Suggestion, advice on TDD adoption
It really really helps to have a coach working with your team and its code.
C. Keith Ray
http://agilesolutionspace.blogspot.com/
twitter: @ckeithray
By
Keith Ray <keith.ray@...>
·
#35649
·
|
Re: [TDD] Suggestion, advice on TDD adoption
[testdrivendevelopment] <testdrivendevelopment@...> wrote:
Keeping the tests informative (i.e. fail only for the right reason and do
so quickly) requires deliberate effort either way. It
By
Adam Sroka
·
#35648
·
|
Re: [TDD] Suggestion, advice on TDD adoption
I think the hardest part of starting with legacy code is that as novices
you will write brittle tests, and that is likely to give you bad design as
you redactor. It's really important that you go
By
Avi Kessner
·
#35647
·
|
Re: [TDD] Suggestion, advice on TDD adoption
[testdrivendevelopment] <testdrivendevelopment@...> wrote:
Al makes a good point, although I wouldn¡¯t say, ¡°orders of magnitude more
difficult.¡±
You are going to spend a lot of
By
Adam Sroka
·
#35646
·
|
Re: [TDD] Suggestion, advice on TDD adoption
TDD with existing non-TDD'ed code often is actually WELC (Working Effectively with Legacy Code, see the book of that title by Michael Feathers), which is orders of magnitude more difficult. ?I advise
By
Al Chou
·
#35645
·
|
Suggestion, advice on TDD adoption
HI,
We have recently started using TDD. We have gone through the training, learned some of the TDD good practices/challenges, using junit, mockito tools/framework etc. Since its an early start to the
By
Pooja Wandile
·
#35644
·
|
Re: [TDD] Giving Up on TDD
That is what Dave said in the video :)
[testdrivendevelopment]" <testdrivendevelopment@...> wrote:
By
Avi Kessner
·
#35643
·
|
Re: [TDD] Giving Up on TDD
[testdrivendevelopment] <testdrivendevelopment@...> wrote:
?I understand that you're not judging this or the other post, so my next
comment isn't about you.
Why would we let anyone's
By
Mark Levison
·
#35642
·
|
Re: [TDD] Giving Up on TDD
Sounded like he said he does TDD in his head, since he has enough
experience to know when and how to do that. Didn't sound like a rejection
of TDD to me.
[testdrivendevelopment]"
By
Avi Kessner
·
#35641
·
|