1 / 7

TDD & ATDD

TDD & ATDD. TDD. TDD Steps. Write one unit test . Build or add to the object under test until everything compiles Red: Watch the test fail ! Green: Make all the tests pass by changing the object under tests . Clean: Refactor mercilessly ! Repeat.

braith
Download Presentation

TDD & ATDD

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TDD & ATDD

  2. TDD

  3. TDD Steps • Write oneunit test. • Build or add to the object under test until everything compiles • Red:Watch the test fail! • Green: Make all the tests pass by changing the object under tests. • Clean: Refactor mercilessly! • Repeat.

  4. http://www.methodsandtools.com/archive/archive.php?id=72p9

  5. TDD and ATDD TDD Test Driven Development ATDD Acceptance Test Driven Development Each test pins down a business rule. Written by the team. For the team. Run frequently by the team. New tests fail until the story is done. Prior tests should all pass. • Each test pins down a technical behavior. • Written by developers • For developers • Run frequently by the team • All tests pass 100% before commit and at integration

More Related