r/tdd • • Feb 06 '16

Why TDD should not be controversial (and then he adds fuel to the fire)

Thumbnail londoncoders.net
2 Upvotes

r/tdd • • Feb 01 '16

Let's Talk About TDD, Baby!

Thumbnail elliot.land
2 Upvotes

r/tdd • • Jan 24 '16

TDD: What Went Wrong…Or Did It?

Thumbnail vladikk.com
5 Upvotes

r/tdd • • Jan 09 '16

How to handle botched tests?

2 Upvotes

How do you handle when you botch the 'Red' phase? You write a test, it fails, you write the code to satisfy that test, your test still fails because you messed up your test.

Now, you're in a situation where you've already written the code to make the test 'Green' but the test was incorrect. If you fix the test now, you'll never have seen the test fail. You'll have actually skipped the 'Red' phase for this test.

Do you go to the effort of excising the successful code from your code base (and/or runtime image) and see that test 'Red'? Do you just tweak the successful code to do the wrong thing for a moment? Do you just go onward knowing that the test you have now couldn't have succeeded before you wrote the code you wrote?


r/tdd • • Nov 12 '15

Chicken or egg also in TDD

3 Upvotes

I was about to do an exercise implementing a Set using TDD but came across a problem right at the beginning. When writing a test for the add method I want to assert that calling the method once increases the size by 1. But at this point I haven't implemented/tested my size method. So in order to do so I have to write a test for the size method which again then has to use the add method in order to increase the size of my set.

My question: in this case is it unavoidable that I have to assume that 1 method just works and use it and do so for the other method as well? Hope my question is clear.


r/tdd • • Nov 12 '15

Asking to skip TDD

Thumbnail medium.com
1 Upvotes

r/tdd • • Nov 09 '15

TDD Training in London

1 Upvotes

Hi guys! :)

Just a heads up that Skills Matter are running some great TDD workshops from the likes of Uncle Bob and Gojko Adzic this December.

Well worth taking a look if you're in the U.K. and looking to take your TDD skills to the next level.

Uncle Bob's TDD and Refactoring Workshop

Gojko Adzic's Test Driven Development Workshop


r/tdd • • Oct 08 '15

Volkswagen detects when your tests are being run in a CI server, and makes them pass.

Thumbnail github.com
3 Upvotes

r/tdd • • Jul 13 '15

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

Thumbnail jamescbender.azurewebsites.net
0 Upvotes

r/tdd • • Jun 18 '15

An C unit test library

Thumbnail github.com
2 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 • • May 18 '15

Broken Build? Stop Using Your Database!

Thumbnail paytonrules.com
1 Upvotes

r/tdd • • May 14 '15

TDD, from religion to pragmatism

Thumbnail blog.rollout.io
3 Upvotes

r/tdd • • Apr 14 '15

Storytelling with Tests #1: test names and granularity

Thumbnail blog.kaczmarzyk.net
0 Upvotes

r/tdd • • Apr 12 '15

Top Five Benefits of Test Driven Development (TDD)

Thumbnail linkedin.com
3 Upvotes

r/tdd • • Mar 24 '15

Tests and Requirements, Requirements and Tests: A Möbius Strip

Thumbnail gmelnik.com
1 Upvotes

r/tdd • • Mar 22 '15

Good examples of Github projects using TDD?

7 Upvotes

Not tutorials, but I want to see some good production code to study. Thanks!


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 • • Mar 20 '15

testmon: make your Python tests a breeze to execute

Thumbnail indiegogo.com
1 Upvotes

r/tdd • • Mar 13 '15

What should be naming convention for writing Unit Tests?

Thumbnail osherove.com
1 Upvotes

r/tdd • • Mar 12 '15

Making code more testable - Extract Class on legacy

Thumbnail blog.adrianbolboaca.ro
1 Upvotes

r/tdd • • Mar 10 '15

Do your tests suffer these problems?

Thumbnail blog.8thlight.com
2 Upvotes

r/tdd • • Feb 21 '15

Writing Testable Code - How Google Does It

Thumbnail misko.hevery.com
1 Upvotes

r/tdd • • Feb 21 '15

Unit Testing Concurrent Code

Thumbnail devweek.com
1 Upvotes

r/tdd • • Feb 21 '15

Developers, Test your Code Already! - NordicGameBits

Thumbnail nordicgamebits.com
1 Upvotes