TDD - do increasing and save...

50 %
50 %
Information about TDD - do increasing and save...

Published on February 3, 2014

Author: khaletskiy



My presentation to PHP & Symfony User Group (January 31, 2014)

TDD – do increasing and save...

Who I am? Programmer at ~ 5 years php experience


TDD - ?...

TDD this is...

...or this?! Do you know it?



Why not?... TDD? And who will pay for it? Good thing! But we release very soon TDD does not work everywhere

Stress-free! 12 10 8 Plain TDD 6 4 2 0 0 1 2 3 4 5 6 7

Why is that?... - Start immediately - Test First - SOLID/Patterns - Less coupled systems - Stress control. Results are obvious ...

Test First...

SOLID Single Responsibility Open/Closed Liskov Substitution Interface Segregation Dependency Inversion

Single Responsibility: Test Data - What does know? - Relations between objects? Behavior - What problems resolve? - Services?

Open/Closed: Test - No need to change working code

Liskov Substitution: Test - Tests can use to check the heirs instead ancestors - In case of violation of unit tests are complicated

Interface Segregation: Test - Tests help to split the interfaces - Mocks dictates API

Dependency Inversion:TDD - Service Locator or Dependency Injection? - Mocks in TDD create abstractions - Setting tests easier with Dependency Injection

TDD +/- Confidence in the code to run - No code to Thrash - New solutions approves more quickly - New lever of your skills - Slow refactoring - Tests are difficult - Doesn't work everywhere - Tests refactoring - TDD for bad smells code

FAQ... - How many tests must be written? - TDD for existing projects - Must read

Books... - Kent Beck "Test Driven Development By Example" - Martin Fowler "Refactoring: Improving the Design of Existing Code" - Joshua Kerievsky "Refactoring To Patterns" - Michael Feathers "Working Effectively with Legacy Code"


Add a comment

Related presentations

Related pages

TDD - do increasing and save... - Technology -

1.TDD – do increasing and save... 2. Who I am?Programmer at ~ 5 years php experience. 3. Disclaimer. 4. TDD - ?... 5. TDD this is... 6 ...
Read more

testing - Why does TDD work? - Programmers Stack Exchange

Why does TDD work? ... even though I do not practice TDD that much myself. ... and so indirectly increasing the quality. ...
Read more

TDD - Why and How? - Technology -

TDD - do increasing and save... Comments. RECOMMENDED. TDD - What, Why, How. Why TDD? How to test your JavaScript - TDD and BDD possible. TDD and Getting Paid.
Read more

Test-driven development - Wikipedia

Test-driven development (TDD) ... TDD tests do not need to be. TDD and BDD ... Write Maintainable Unit Tests That Will Save You Time And Tears;
Read more

Just What Is LTE TDD Anyway? | Light Reading

... Just What Is LTE TDD ... A vital part of increasing the number of women in ... and provide steps and guidance for other companies wishing to do ...
Read more

What’s The Difference Between FDD And TDD ...

What’s The Difference Between FDD And TDD? Jul 30, 2012 Lou Frenzel | Electronic Design ... 4G cell phone strategies for increasing data rates.
Read more

Getting Started with TDD in React - CodeProject

... greatly increasing ... so we do that as well. Save ... By now you’ve got a good feel for TDD with React. The best thing you can do now ...
Read more

Prepaid Unlimited Cell Phones - No Contract Phones | Boost ...

Trade and Save; Unlocking Policy; ... peak speeds today with increasing speed ... (MHz) and 1.9 Gigahertz (GHz) and TDD1-LTE at 2.5GHz spectrum, TDD-LTE ...
Read more


OpenTTD is versioned with SubVersion, OpenTTDcoop mostly uses Mercurial. As of today, WebTranslator 3 is offline. is now ...
Read more