pt xug talks#2tdd27062015
TRANSCRIPT
Lisbon, June 27th 2015
TDD for what? It just works fine on MY machine
PTXug Xamarin Talks #2 - TDD
Speaker – Jorge Alves
C:\> ping me @jorgeandrealves
Present - Software Developer @ Match Profiler2011 - 2015 - Soft. Problem Solver @ PT Contact1992 - present - Geek
Tests Nunit TDD Demo What's next? Articles & References
Agenda
Tests
• Unit Testing• Integration Tests• UI Tests• Acceptance Tests
Nunit
• Testing Framwork• Fluent Assertions• Easy to use
http://nunit.org/
What’s TDD?
Test-Driven Development (TDD) is a technique for building software that guides software development by writing tests.
TDD Cycle
TDD - Pros
• Simple, Modular code• Help find bugs earlier• Live Documented• + Maintainable• - Support Time
TDD - Cons
• Time-consuming learning path• Lots of Refactoring• + Time to develop• + Cost
Demo
Let’s code
What’s Next?
• SOLID Principles (Uncle Bob)• Behaviour Driven Development• Approvall Tests• Clean Code
Articles & References
• TDD wiki - http://goo.gl/gbPc• Pros and Cons of Test Driven Development - http://goo.gl/HgI5MG• TDD by Martin Fowler - http://goo.gl/krzvNr• Scott Hanselman - The Last Word on TDD - http://goo.gl/KcNYcr• A Great TDD Intro (Good one) - http://goo.gl/5qJxDC• Uncle Bob: The Truth About BDD - https://goo.gl/XX5xk
Q & A
Sponsors
THANK YOU !C:\> ping me
@jorgeandrealves