Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DeveloperUG 2014: Essential test-driven development: Why TDD is not about testing

DeveloperUG 2014: Essential test-driven development: Why TDD is not about testing

In doing work as a coach, Martin has noticed that developers struggle to adopt TDD and in some cases some are still wary of it.

This is mostly due to common misconceptions about the technique. This session will explore TDD, BDD and Automated Acceptance Tests and ask when do which, with what, how and why.

Martin Cronjé

June 10, 2014
Tweet

More Decks by Martin Cronjé

Other Decks in Technology

Transcript

  1. [TestMethod]
    public void Total_Should_Be_1_When_1_Product_Added()
    {
    var cart = new ShoppingCart("TEST");
    cart.AddItem(new Product("SKU"));
    Assert.AreEqual(1, cart.TotalItems);
    }

    View full-size slide





  2. View full-size slide