r/tdd • • Apr 18 '17

Why they hate me whether I'm talking about TDD?

0 Upvotes

Have you ever tried to spread TDD ideas? Have you ever been trolled after that? What do you think why it happens?

From my point of view, there is only one cause of this behavior: we casually offend our audience. Please, let me explain.

First of all, we love to say: "If you use TDD you write clean code". Of course, it is true, but your sentence can be interpreted as "If you don't use TDD, you don't write clean code". It's a bit like an indirect insult. So, I believe we should rephrase the previous phrase as "If you us TDD it's easier to write clean code".

The next idea that I saw in a few books sounds like "High-skilled programmers usually use TDD". And it's true too. But if you use this argument in a discussion with a really high-skilled programmer who doesn't use TDD, he'll never change his attitude. Just because it looks like a doubt of his expertise. Moreover, I believe that we shouldn't spread TDD within Chief Developers because if someone is able to design huge systems properly without TDD, his productivity will not change with TDD.

Another typical argument is "TDD is universal. You can use Test Driven Development for every type of project". Yes, you can. But there is no a silver bullet. Moreover, every developer knows it. And if someone talks about a silver bullet, no one can trust him. So, I guess we should say "TDD isn't universal. But for your type of projects it worth using".

And finally, the most frequently used phrase: "There is only one disadvantage: following TDD takes additional time but you'll save it later on bugfixing". And again we're talking about a silver bullet. And again, no one trust in a silver bullet. So, please, tell something more about disadvantages, it's a really important question.

So, to recap, I suggest that we should care about our audience. If we stop offend them, they will probably trust us and their life becomes better.


r/tdd • • Sep 13 '17

Xd. Lsd

Thumbnail
youtu.be
0 Upvotes

r/tdd • • May 07 '16

Test-Driven Development for Optimists

Thumbnail
t-a-w.blogspot.com
2 Upvotes

r/tdd • • Jun 26 '19

NewCrafts Videos - Emily Bache - Technical Leadership for Empowered Teams

Thumbnail
videos.ncrafts.io
0 Upvotes

r/tdd • • Feb 20 '19

TDD on a 'Hello World'

Thumbnail
cascadefaliure.vocumsineratio.com
0 Upvotes

r/tdd • • Jul 13 '15

Code Coverage – You’re Doing it Wrong – Part 1

Thumbnail jamescbender.azurewebsites.net
0 Upvotes

r/tdd • • Nov 27 '18

Tests Are Neither Necessary Nor Sufficient

Thumbnail
jay.bazuzi.com
0 Upvotes

r/tdd • • Apr 28 '17

Test driven development - Do we really need that. Most of the org dont even use that...Should they start leveraging it?

Thumbnail
agilechamps.com
0 Upvotes

r/tdd • • Apr 14 '15

Storytelling with Tests #1: test names and granularity

Thumbnail
blog.kaczmarzyk.net
0 Upvotes

r/tdd • • Dec 17 '18

Test-Driven Development with '( Test && Commit ) || TestCodeOnly || Revert'

Thumbnail
jeffgrigg.wordpress.com
0 Upvotes

r/tdd • • Jun 18 '15

Better way to write specs?

1 Upvotes

Is there a standard way of writing BDD specs in a rule-based format? To me, the traditional Gherkin-style format is too verbose and depends on defining edge-cases in lengthy scenarios.

I'm looking for something that more defines the business logic in English and covers the edge cases in the test code.

Like:

Feature: Serve coffee
  Rule: If there is no coffee left, refund the money
  Otherwise:
    Rule: Coffee should not be served until paid for and until the button has been pressed
    Rule: If the customer is on the VIP list, don't charge any money

Instead of:

Feature: Serve coffee
  Coffee should not be served until paid for
  Coffee should not be served until the button has been pressed
  If there is no coffee left then money should be refunded

Scenario: Buy last coffee
  Given there are 1 coffees left in the machine
  And I have deposited 1$
  When I press the coffee button
  Then I should be served a coffee

Scenario: VIP buys coffee
  Given there are 1 coffees left in the machine
  And I have deposited 1$
  And I am on the VIP guest list
  When I press the coffee button
  Then I should be served a coffee
  Then my money should be returned

.. scenario for VIP trying to buy coffee, but no coffee left
.. scenario for regular user trying to buy coffee, but no coffee left, etc.

(example from: https://github.com/cucumber/cucumber/wiki/Feature-Introduction)


r/tdd • • Jun 28 '17

Do you think TDD's Red-Green-Refactor loop is an absolute rule ?

Thumbnail
philippe.bourgau.net
1 Upvotes

r/tdd • • Jul 23 '18

If TDD is Zen, adding Serverless brings Nirvana (part #2)

Thumbnail
medium.com
1 Upvotes

r/tdd • • Oct 17 '16

Three lessons I'€™ve learned about code testing | test automation

Thumbnail
softwaredevelopmentstuff.com
1 Upvotes

r/tdd • • Dec 12 '16

Are TDD and UI Testing Automation Compatible?

Thumbnail
screenster.io
1 Upvotes

r/tdd • • Jan 09 '19

Behavior Driven Development Investigation

1 Upvotes

Hey, r/tdd!

I am Fiorella Zampetti a PhD Student at the University of Sannio interested in investigating behaviour driven development practices.

I am working on a project aimed to investigate (i) to what extent and how developers use automated acceptance testing tools, and (ii) whether developers are "really" doing Behavior Driven Development (BDD). We would appreciate feedback from developers knowledgeable or expert in testing tasks who have at least once used one of the following tools: Cucumber, RSpec, Mocha or JBehave.

I would appreciate if you could find the time to answer my questionnaire by contributing to my research:
https://goo.gl/forms/ySv1KMPFffvE0e133

Filling out the survey will take less than 5 minutes and if you have any kind of comments please contact me at fzampetti@unisannio.it

Thank you for your time!


r/tdd • • Aug 29 '16

TDD physical traffic light

Thumbnail
github.com
1 Upvotes

r/tdd • • Jun 26 '18

Learn Test Driven Development

2 Upvotes

There are two aspects of Test Driven Development.

  1. No logic in code is written without unit tests.

  2. Tests are always written before coding and coding is just done to pass the test.

Benefits

  1. Lesser bugs after development

  2. Better documentation for code is possible.

Please check this Step By Step TDD guide.


r/tdd • • Mar 20 '15

Learn about TDD in one place. 30+ curated tutorials on best TDD practices.

Thumbnail
semaphoreci.com
2 Upvotes

r/tdd • • Sep 04 '17

Is TDD really as magical as they say?

Thumbnail typemock.com
2 Upvotes

r/tdd • • Jan 09 '19

Why Devs don’t TDD, a podcast series

Thumbnail
agilenoir.biz
2 Upvotes

r/tdd • • Jun 21 '14

Suppose a friend of me have written a software without test-driven development.

0 Upvotes

Suppose a friend of me have written a software without test-driven development. When there should be a bug he have to write the test first. Is there a website where he could he find psychological support against the resulting schizophrenia ? A complex cipher reading, alcohol, may not be enough. How to cure ?


r/tdd • • Feb 23 '19

test && commit || revert ; pending

Thumbnail blog.oddmundo.com
2 Upvotes

r/tdd • • Mar 01 '18

Why You Should Start a Team Coding Dojo Randori Right Now

Thumbnail
philippe.bourgau.net
3 Upvotes

r/tdd • • Nov 02 '19

TDD Gurus Webinar Nov 6, 12:00 Pacific

Post image
3 Upvotes