Top Banner
Запускаем TDD с середины проекта
84

Tdd from the middle

Nov 11, 2014

Download

Documents

Gabriel Pavel

 

tdd

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Tdd from the middle

Запускаем TDD с середины проекта

Page 2: Tdd from the middle

2

Павел Габриель

[email protected]

Минск, Беларусьруководитель проектов, программист

«Смарт системз»

Page 3: Tdd from the middle

Вопросы

Page 4: Tdd from the middle

О чем пойдет речь?

Page 5: Tdd from the middle

о проблемах и

возможных решениях

Page 6: Tdd from the middle

Компания

Page 7: Tdd from the middle

Команда

Page 8: Tdd from the middle

Код

Page 9: Tdd from the middle

С чего начать?

Page 10: Tdd from the middle

Стоит ли внедрять?

Page 11: Tdd from the middle

Возможно НЕТ, если

Page 12: Tdd from the middle

Проблемы с командой

Page 13: Tdd from the middle

Детальное проектирование

Page 14: Tdd from the middle

Нет изменений

Page 15: Tdd from the middle

Через неделю релиз

Page 16: Tdd from the middle

Один джедай

Page 17: Tdd from the middle

Один джедай

и это вы ;)

Page 18: Tdd from the middle

Мифы и реальность

Page 19: Tdd from the middle

Мифы

Page 20: Tdd from the middle

Полное отсутствие багов

Page 21: Tdd from the middle

Все должно быть протестировано

Page 22: Tdd from the middle

Многократное увеличение объема кода

Page 23: Tdd from the middle

Время разработки значительно увеличится

Page 24: Tdd from the middle

15-20%на новом проекте

Page 25: Tdd from the middle
Page 26: Tdd from the middle
Page 27: Tdd from the middle
Page 28: Tdd from the middle
Page 29: Tdd from the middle

Качественный код по TDD может написать любой

Page 30: Tdd from the middle

Можно отказаться от тестировщиков

Page 31: Tdd from the middle

Реальность

Page 32: Tdd from the middle

Более качественный код

Page 33: Tdd from the middle

Меньшая связанность

Page 34: Tdd from the middle

Узкая специализация

Page 35: Tdd from the middle

Хорошие интерфейсы

Page 36: Tdd from the middle

Легкая интеграция

Page 37: Tdd from the middle

Уменьшение времени отладки

Page 38: Tdd from the middle

Легкие миграции

Page 39: Tdd from the middle

Частые релизы

Page 40: Tdd from the middle

Условия для TDD

Page 41: Tdd from the middle

Вера в разработчиков

Page 42: Tdd from the middle

Возможность принимать решения

Page 43: Tdd from the middle

Команда

Page 44: Tdd from the middle

Причины отказа

Page 45: Tdd from the middle

Это не моя работа

Page 46: Tdd from the middle

TDD - это тестирование

Page 47: Tdd from the middle

TDD - это тестированиепроектирование

Page 48: Tdd from the middle

TDD - это тестированиепроектированиеулучшение кода

Page 49: Tdd from the middle

Я не знаю зачем писать тесты

Page 50: Tdd from the middle

Доверие

Page 51: Tdd from the middle

Код

Page 52: Tdd from the middle

Коллеги

Page 53: Tdd from the middle

Клиенты

Page 54: Tdd from the middle

Смелость и уверенность

Page 55: Tdd from the middle

Мой мозг может больше

Page 56: Tdd from the middle

Нет времени

Page 57: Tdd from the middle

Это невозможно протестировать

Page 58: Tdd from the middle

Проще написать код, чем тест

Page 59: Tdd from the middle

Мой код работает и так!

на моем компьютере ;)

Page 60: Tdd from the middle

Доносим суть TDD

Page 61: Tdd from the middle

Кент Бек "Разработка через тестирование"

Page 62: Tdd from the middle

Тренер/опытный лидер

Page 63: Tdd from the middle

Учебный проект

Page 64: Tdd from the middle

Итого

Page 65: Tdd from the middle

Понимаем

Page 66: Tdd from the middle

Хотим

Page 67: Tdd from the middle

Учимся писать тесты

Page 68: Tdd from the middle

Код

Page 69: Tdd from the middle

С чем боремся?

Page 70: Tdd from the middle

Дублирование

Page 71: Tdd from the middle

Сложность

Page 72: Tdd from the middle

Зависимость

Page 73: Tdd from the middle

Тестовая среда

Page 74: Tdd from the middle

Независимая

Page 75: Tdd from the middle

Легко воспроизводимая

Page 76: Tdd from the middle

Максимально реальная

Page 77: Tdd from the middle

Автоматическиефункциональные

тесты для ядра

Page 78: Tdd from the middle

Пишем по TDD

Page 79: Tdd from the middle

Новый код

Page 80: Tdd from the middle

Модифицируемый старый код

Page 81: Tdd from the middle

Найденные баги

Page 82: Tdd from the middle

Метрики

Page 83: Tdd from the middle

Правильные инструменты

Page 84: Tdd from the middle

Спасибо за внимание!

Вопросы?