Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CakePHP2+BDD Pluginで カンタン受入れテスト

CakePHP2+BDD Pluginで カンタン受入れテスト

2013/3/9
(CakePHPとか)PHPのテストについての勉強会@co-edo

Kaz Watanabe

January 31, 2013
Tweet

More Decks by Kaz Watanabe

Other Decks in Programming

Transcript

  1. Build Trigger ଞϓϩδΣΫτͷϏϧυޙʹϏϧυ ϦϞʔτ͔ΒϏϧυ (ྫ: εΫϦϓτ͔Β) Build when a change

    is pushed to GitHub SCMΛϙʔϦϯά ఆظతʹ࣮ߦ 13೥3݄9೔౔༵೔
  2. ԿΛ͢Δ͔? lint - จ๏νΣοΫ phploc(*) - ϓϩδΣΫτͷن໛Λଌఆ pdpend (*) -

    ύοέʔδ୯ҐͷϝτϦΫεͷଌఆ(ґଘ౓ͱ͔) phpcb (*) - ιʔείʔυຖͷঢ়ଶΛղੳ phpmd - ੩తղੳ(࣮૷্ͷ໰୊Λݕग़) phpcs - ίʔσΟϯάن໿νΣοΫ phpcpd - ίϐϖίʔυͷݕग़ migration - DBͷϚΠάϨʔγϣϯ(cakedc/Migrations plugin) UnitTest - ୯ମςετ(CakePHP TestCase) StoryTest - डೖΕςετ(sizuhiko/Bdd plugin) 13೥3݄9೔౔༵೔