xp injection

29
XP Injection IT Jam 2009

Upload: aleksey-solntsev

Post on 12-Nov-2014

12.305 views

Category:

Technology


0 download

DESCRIPTION

Nikolay Alimenkou and Aleksey Solntsev will show how to migrate from Ant project to Maven2 project and start using full power of XP engineering practices: CI, TDD, refactoring.

TRANSCRIPT

Page 1: XP Injection

XP InjectionIT Jam 2009

Page 2: XP Injection

Background

Java Technical Lead/Scrum Master at Zoral Labs 5+ years in software development 3+ years of working by Agile methodologies Expert in Agile engineering practices Agile coach (TDD, Testing, Planning) 

Process Architect at Infopulse Ukraine Agile volunteer Certified Scrum Practitioner Initiator and coordinator of translation of the cult book

"Scrum and XP from the Trenches" into Russian

Alimenkou Mikalai

Solntsev Aleksey

Page 3: XP Injection

Agenda

Introduction to XP Build automation Continuous Integration TDD (unit/integration testing) Code quality analysis Refactoring

Page 4: XP Injection

Agenda

Introduction to XP Build automation Continuous Integration TDD (unit/integration testing) Code quality analysis Refactoring

Page 5: XP Injection

Extreme Programming?

Page 6: XP Injection

XP Practices

Page 7: XP Injection

XP is from Agile world

Page 8: XP Injection

Agenda

Introduction to XP Build automation Continuous Integration TDD (unit/integration testing) Code quality analysis Refactoring

Page 9: XP Injection

«One-button» technology

Page 10: XP Injection

Live demo

For watching the video open http://vimeo.com/8201444

Page 11: XP Injection

Build automation

Eliminate dependencies on key person Remove hacks and secret recipes Save time and money Eliminate redundant tasks Improve product quality Minimize "bad builds" Build everywhere and whenever Minimize risks Open way to other engineering practices Generate up-to-date project information

Page 12: XP Injection

Agenda

Introduction to XP Build automation Continuous Integration TDD (unit/integration testing) Code quality analysis Refactoring

Page 13: XP Injection

Who broke the build? 

Who will fix it?

How to know that everything is OK?

Page 14: XP Injection

Live demo

For watching the video open http://vimeo.com/8135215 and then http://vimeo.com/8200658

Page 15: XP Injection

Continuous Integration

... is a software development practice wheremembers of a team integrate their workfrequently. Each integration is verified by anautomated build (including test) to detectintegration errors as quickly as possible.

Many teams find that this approach leads tosignificantly reduced integration problems andallows a team to develop cohesive softwaremore rapidly.

Martin Fowlerhttp://martinfowler.com/articles/continuousIntegration.html

Page 16: XP Injection

Agenda

Introduction to XP Build automation Continuous Integration TDD (unit/integration testing) Code quality analysis Refactoring

Page 17: XP Injection

Do you know when you are DONE ?

Page 18: XP Injection

Live demo

For watching the video open http://vimeo.com/8202622

Page 19: XP Injection

Test Driven Development

No more repeat bugs Make regression easier Better design Less debugger No unneeded extra code More focus Quick feedback Less manual testing Easy refactoring Easier to isolate problem Better API Great code coverage

Page 20: XP Injection

Agenda

Introduction to XP Build automation Continuous Integration TDD (unit/integration testing) Code quality analysis Refactoring

Page 21: XP Injection

Do you know your code?

Page 22: XP Injection

Live demo

For watching the video open http://vimeo.com/8204425

Page 23: XP Injection

Do you know what to improve?

Tell me how you will measure me and I will tell you how I will behave

If you can’t measure it, you can’t improve it

Lord Kelvin

Eliyahu Goldratt

Page 24: XP Injection

Agenda

Introduction to XP Build automation Continuous Integration TDD (unit/integration testing) Code quality analysis Refactoring

Page 25: XP Injection

Don't want to pay technical debt?

Page 26: XP Injection

Live demo

For watching the video open http://vimeo.com/8203050

Page 27: XP Injection

Refactoring More readable code Easier maintenance Code reuse Easier to add new code Improved design Better understanding Speeding knowledge Easier to test Minimize duplication 

Page 28: XP Injection

What you take away?

What is XP methodology How to introduce XP in your project Some key engineering practices to start with Guide for quick start