Экстремальное программирование. Разработка через тестирование. Кент Бек

Читать онлайн книгу.

Экстремальное программирование. Разработка через тестирование - Кент Бек


Скачать книгу
пер.

      4

      Название метода times() можно перевести на русский как «умножить на». – Примеч. пер.

      5

      Код с душком (code that smells) – распространенная в XP метафора, означающая плохой код (содержащий дублирование). – Примеч. пер.

      6

      Имеется в виду индикатор успешного выполнения тестов в среде JUnit, имеющий форму полосы. Если все тесты выполнились успешно, полоса становится зеленой. Если хотя бы один тест потерпел неудачу, полоса становится красной. – Примеч. пер.

iVBORw0KGgoAAAANSUhEUgAAAj8AAAB5CAIAAABZUNc4AAAACXBIWXMAAA7EAAAOxAGVKw4bAAANnklEQVR42u2dP28cyRXE71sYsL/LQd/i9B1OgQ3HOji2zdB2QAW2IxF3oelQB0bngAKU8ZydGZ2BDRQRzOgCCyg8d/fMrqT9MyP+Cg/CbG/v7G7X1Kt+3bPiFw8AAADA2vAFQwAAAAD3AgAAAE7hXr/8xa8IgiAIYjmxq3v9+je/JdYVsAY7BAR9xgThXsiPgB0CgnAvAvkRsANBBO5FID/YISCIwL2QHwE7BAThXgTyI2AHggjci0B+sENAEIF7IT/GAXYICMK9CORH/H/84/KfEsibN9+//OZ39/f3P/30H9hBPsRq3Eu6dbc//fkv0XMeEsuU3w8//Esc/fjjv82g0m4eEh8U79698wX/88///f0f/rgXdqSdKqJI7Ntvv2PAlyAfKaVmSMlnd+qJhbpXozpiFe5lKWJdy2EH91qFe1X57F52Ewt1L89Dkwf1VCYpmplae+mvBOpu79+/z0N1a97d7W/efO/6wBeKTpLOPq3TcT2J2/0qt+sT+r0Cn+cpu5fmjM2EQ9VzRkmE5iX39/c9L8OhDsUeXr/Q51fPUJzrRJ8h5Kqz+vQXYdOobsns/TXWOIG/rF+lbxd70EMf3z+i+dj1q239mgoP2o4G84nulYJPb9pf/x4rfeapr0/s0b08vB7t5gpPOT7FV+BTKcuFKR3DwvHcS6w4T0Vj1rkeWtt6Vlymv3NHCOuzYRWkTmUl1+tmq3tlG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