Your SlideShare is downloading. ×
0
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
TDD - do increasing and save...
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

TDD - do increasing and save...

115

Published on

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

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

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
115
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. TDD – do increasing and save...
  • 2. Who I am? Programmer at Wargaming.net ~ 5 years php experience
  • 3. Disclaimer
  • 4. TDD - ?...
  • 5. TDD this is...
  • 6. ...or this?! Do you know it?
  • 7. Expectations...
  • 8. Reality...
  • 9. Why not?... TDD? And who will pay for it? Good thing! But we release very soon TDD does not work everywhere
  • 10. Stress-free! 12 10 8 Plain TDD 6 4 2 0 0 1 2 3 4 5 6 7
  • 11. Why is that?... - Start immediately - Test First - SOLID/Patterns - Less coupled systems - Stress control. Results are obvious ...
  • 12. Test First...
  • 13. SOLID Single Responsibility Open/Closed Liskov Substitution Interface Segregation Dependency Inversion
  • 14. Single Responsibility: Test Data - What does know? - Relations between objects? Behavior - What problems resolve? - Services?
  • 15. Open/Closed: Test - No need to change working code
  • 16. Liskov Substitution: Test - Tests can use to check the heirs instead ancestors - In case of violation of unit tests are complicated
  • 17. Interface Segregation: Test - Tests help to split the interfaces - Mocks dictates API
  • 18. Dependency Inversion:TDD - Service Locator or Dependency Injection? - Mocks in TDD create abstractions - Setting tests easier with Dependency Injection
  • 19. 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
  • 20. FAQ... - How many tests must be written? - TDD for existing projects - Must read
  • 21. 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"
  • 22. Questions?

×