`
EdwPhoebus
  • 浏览: 15140 次
  • 性别: Icon_minigender_1
  • 来自: 西安
最近访客 更多访客>>
社区版块
存档分类
最新评论

Argue on TDD

TDD 
阅读更多
We do “TDD.” Oh really?

August 21st 2011 at 4:50 PM Posted to Agile,Development,Testing
During Agile 2011 I tried to speak to people about what technical practices they did, and to what degree as well. Unfortunately I left the conference slightly disappointed and now understand why Uncle Bob champions the Software Craftsmanship movement as a way of addressing a balance the agile community at large has lost.

Don’t get me wrong. I appreciate that we need to focus on people and system issues in software development just as well. However, it’s laughable to think that software development is the easy part. I’m not the only one who feels this way. In order to succeed at real agility, you need just as much discipline and attention to detail to the technical practices, tools and methods just as you do everything else. It seemed like people were trying to be a good sports team, by finding the best people, hiring the best coaches, and then forgetting to schedule time for the drills and training.

One particular conversation stuck with me. We had this in the airport lounge at Salt Lake City before departing for Chicago. It kind of went something like this:

Other: We only tend to TDD the happy path
Me: Oh? Out of interest, what sort of test coverage do you end up with?
Other: About 20 or 30%. Why, how about you?
Me: Depends on what sort of application. Adding up the different types of tests (unit, integration, acceptance), I’d probably guess in the high 80s to 90s.
Other: Wow. That’s really high.

This conversation got me thinking about whether the other person’s team really benefits from doing TDD. I’m guessing not. They are probably getting some value from the tests, but probably equal value by doing test after. If you really wanted to be a pedant, you could argue, how do you do TDD without actually driving (most of) the code with tests? I’m not a TDD zealot. I’ve even blogged about when to skip TDD, however one of the biggest benefits of writing tests is the feedback they give and the way that it changes the way that you design code. I’m guessing by skipping the “unhappy paths”, there’s plenty of feedback they miss out on.

                                ----From Patrick Kua (ThoughtWorks)


Comment:
At the first, the unit test shouldn’t cover only 20%-30%, it’s not TDD and maybe the unit test code just to satisfied supervisor or somebody else, if we do it like that, the unit test has lost the original meaning and to be frank, it’s just a overloaded methodology in this situation.
There’re two many metrics in TDD, actually i’m interested in TDD and i’m a zealot on process or skill which will make the team to be successful, not just the “Successful delivery” only. TDD is the way to try to extract the marketable value, because it will be come true from the customer perspective. It will push the communication with stakeholder and make some important and massive business defect in the beginning phase.
We should consider about some cost-value rate, balance the resource ,short-term advantage and long-term advantage.
Perhaps I’m interested in Automate testing as well, but we should be sober on any disciplines and methodologies, we can do all thing which will push our team and project to be better. We will adopt all techs if it's necessary, includes the TDD and Automate.

                                -----From Phoebus
分享到:
评论

相关推荐

    gre argue全部提纲

    gre argue全部提纲,很详细的。而且是自己写的哦

    Knowledge_Management_from_the_Ontological_Standpoint

    I argue on the one hand that its emphasis on pragmatism falls short of providing a reflective and principled methodology, and that on the other hand conceptualism is doomed by its neglect of reality....

    四、六级作文应试模版.ppt

    Para 2:On the other hand (however, on the contrary), some other people argue that we should attach more importance to B. According to them, we should…instead of… Without B, A will… For one thing, ...

    Stochastic Weight Update on Feed-Forward Neural Networks

    performs surprisingly well, giving accuracy results competitive with the state-of-the-art on all the tasks we consider. The computational simplicity of the decoder and training algorithm leads to ...

    Dynamic Meta-Embeddings for Improved Sentence Representations.pdf

    While one of the first steps in many NLP systems is selecting what pre-trained word embeddings to use, we argue that such a step is better left for neural networks to figure out by themselves. To ...

    大学英语四级作文模板

    Those who criticize… argue that… However, people who advocate … on the other hand, maintain that… As far as I am concerned, my favor goes to the first/second view. Admittedly, …but it doesn’t ...

    ERNIE:Enhanced Language Representation with Informative Entities.pdf

    We argue that informative entities in KGs can enhance language representation with external knowledge. In this paper, we utilize both large-scale textual corpora and KGs to train an enhanced language...

    Fine-Grained Head Pose Estimation Without Keypoints

    We argue that this is a fragile method because it relies entirely on landmark detec- tion performance, the extraneous head model and an ad-hoc fitting step. We present an elegant and robust way to ...

    Argue-crx插件

    在这里,您可以讨论与其他访客一起在页面上看到的内容。 支持语言:English (United States)

    Argue tuProlog-开源

    基于Java论证的推理引擎

    Feature Extraction and Image Processing

    these techniques in research and teaching, and we would argue that they have been of considerable benefit there. In research, they help us to develop technique more quickly and to evaluate its final ...

    Making Software - What Really Works, and Why We Believe It

    People argue about these questions every day. Every serious attempt to answer the first two questions relies on the scientific method: careful collection of evidence, and impartial evaluation of its ...

    统计学JASA文章-The Analysis of Transformed Data.pdf

    We argue that common sense and the work of Box and Cox (1964) point to a contrary conclusion. Our argument is based on considerations of parameter interpretation and subsequent Bayesian analysis, ...

    四级英语复习重点

    However, other people stand on a different ground. They consider it harmful to do X. They firmly point out that 反对X 的第一个理由。 An example can give the details of this argument: 一个例子。 ...

    ARAP Surface Modeling

    We argue that defining a modeling operation by asking for rigidity of the local transformations is useful in various settings. Such formulation leads to a non-linear, yet conceptually simple energy ...

    Effects of humor on the test performance of elementary school children

    One might argue that it is a waste of time to conduct research on the “obvious” effects of humor in the classroom, and, indeed, it may be heretical to question the value of humor for instruction ...

    Vision as Bayesian inference

    We argue that the study of human vision should be aimed at determining how humans perform natural tasks with natural images. Attempts to understand the phenomenology of vision from artificial stimuli,...

    大学 完形填空词组及固定搭配常考汇总

    31 argue against 反对 32 as a result of作为……的结果,由于 33 as a result(作为结果,因此)表结果,用不用逗号隔开看情况而定; 34 as a whole 作为一个整体,整个看来 35 as far as …/are concerned就……...

Global site tag (gtag.js) - Google Analytics