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

It's Not Just About Tests

It's Not Just About Tests

Talk about Test Driven Development (TDD). Addressing concepts that state that TDD is much more than write tests to the code.

Raphael Amorim

October 19, 2015
Tweet

More Decks by Raphael Amorim

Other Decks in Programming

Transcript

  1. 1. SOFTWARE TESTING IS A PROCESS OF EXECUTING A PROGRAM

    OR APPLICATION WITH THE INTENT OF FINDING THE SOFTWARE BUGS.
  2. 3. IN SHORT: THERE ARE SEVERAL TYPES/ METHODOLOGIES OF SOFTWARE

    TESTING. E.G: UNIT TESTS, INTEGRATION TESTS, OPERATIONAL ACCEPTANCE TESTS…
  3. IT'S NOT JUST ABOUT TESTS WHY SOFTWARE TESTS? ▸ To

    ensure that what we create does what it’s supposed to do.
  4. IT'S NOT JUST ABOUT TESTS WHY SOFTWARE TESTS? ▸ To

    ensure that what we create does what it’s supposed to do. ▸ “Something that works when one person is using it may not work when hundreds of people are using it”.
  5. IT'S NOT JUST ABOUT TESTS WHY SOFTWARE TESTS? ▸ To

    ensure that what we create does what it’s supposed to do. ▸ “Something that works when one person is using it may not work when hundreds of people are using it”. ▸ We owe it to our users and ourselves to deliver the best application we can.
  6. IT'S NOT JUST ABOUT TESTS WHY SOFTWARE TESTS? ▸ To

    ensure that what we create does what it’s supposed to do. ▸ “Something that works when one person is using it may not work when hundreds of people are using it”. ▸ We owe it to our users and ourselves to deliver the best application we can. ▸ Tests means Quality.
  7. HOWEVER, TDD IS NOT THE "ONLY ONE" ( BDD, CDD,

    DDD, MDD, FDD, ATDD, AND THE OTHER DOUBLE D’S )
  8. “ FOLK WISDOM IN SOFTWARE DEVELOPMENT TEACHES THAT INTERFACES SHOULDN'T

    BE UNDULY INFLUENCED BY IMPLEMENTATIONS. WRITING A TEST FIRST IS A CONCRETE WAY TO ACHIEVE THIS SEPARATION. ” Kent Beck, Extreme Programming Explained: Embrace Change IT'S NOT JUST ABOUT TESTS
  9. “ IF IT'S HARD TO BE TESTED, SORRY YOUR CODE

    DESIGN IS WRONG. ” Raphael Amorim, Random Tweet IT'S NOT JUST ABOUT TESTS
  10. “ TDD IS NOT EASY, IT TAKES TIME TO LEARN

    AND GET RIGHT AND THERE IS A RISK THAT IT COULD BE A TIME SINK FOR A PROJECT IF THE ENTIRE DEVELOPMENT TEAM DOES NOT BUY INTO ITS USAGE. ” Bradley Braithwaite, TDD: It's not just about the Tests IT'S NOT JUST ABOUT TESTS
  11. IT'S NOT JUST ABOUT TESTS ▸ The ThreeRules Of Tdd

    
 ( http://butunclebob.com/ArticleS.UncleBob.TheThreeRulesOfTdd ) ▸ Test Driven Development: By Example
 ( http://www.amazon.com/Test-Driven-Development-By-Example/dp/ 0321146530 ) ▸ Growing Object-Oriented Software, Guided by Tests
 ( http://www.amazon.com/Growing-Object-Oriented-Software-Guided-Tests/dp/ 0321503627 ) ▸ Test-Driven Development: A Practical Guide: A Practical Guide
 ( http://www.amazon.com/Test-Driven-Development-Practical-Guide/dp/ 0131016490 )
  12. IT'S NOT JUST ABOUT TESTS ▸ TDD no Mundo Real

    (PT-BR)
 ( http://tddnomundoreal.com.br/ )
  13. IT'S NOT JUST ABOUT TESTS REFERENCES ▸ Extreme Programming Explained:

    Embrace Change, 2000 - Kent Beck. ▸ TDD: It's not just about the Tests, 2012 - Bradley Braithwaite ▸ 5 Reasons We Need Software Testing, 2014 - Cullyn Thomson