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

グーペのE2Eテスト運用事情

hypermkt
October 27, 2016

 グーペのE2Eテスト運用事情

hypermkt

October 27, 2016
Tweet

More Decks by hypermkt

Other Decks in Technology

Transcript

  1. ࣗݾ঺հCZ1)16OJU class MeTest extends PHPUnit_Framework_TestCase { protected $me; public function

    setUp() { $this->me = new Me(); } public function testNickname_ReturnMyNickName_WhenValidPerson() { $this->assertEquals('όʔνʔ', $this->me->nickname()); } public function testCompany_ReturnMyCompanyName_WhenValidPerson() { $this->assertEquals('GMO ϖύϘ', $this->me->company()); } public function testJob_ReturnMyJob_WhenValidPerson() { $this->assertEquals('αʔόʔαΠυΤϯδχΞ', $this->me->job()); } }
  2. ࣗݾ঺հCZ1)16OJU $ vendor/bin/phpunit tests/MeTest.php PHPUnit 5.4.8 by Sebastian Bergmann and

    contributors. ... 3 / 3 (100%) Time: 45 ms, Memory: 3.00MB OK (3 tests, 3 assertions)
  3. ࣮૷ྫʣ0,ຢ͸1)1Τϥʔແ͠Λ֬ೝ͢Δ ˞্ه&&ςετ͸ɺ1)1ΤϥʔɾܯࠂΛද͍ࣔͤͯ͞Δࣾ಺։ൃ؀ڥΛલఏͱ͍ͯ͠·͢ɻ SFRVJSFTQFD@IFMQFS
 
 TIBSFE@FYBNQMFT@GPSDPSSFDUSFTQPOTFEPcVSJc
 CFGPSF\WJTJUVSJ^
 
 JU\VSJ^͕0,Ͱਖ਼ৗʹӾཡͰ͖ΔEP
 FYQFDU QBHFTUBUVT@DPEF

    UPCF  
 FOE
 
 JU\VSJ^ʹ1)1ͷܯࠂ͕ແ͍EP
 FYQFDU QBHF UPIBWF@OP@DPOUFOU 8BSOJOH 
 FOE
 
 JU\VSJ^ʹ1)1ͷΤϥʔ͕ແ͍EP
 FYQFDU QBHF UPIBWF@OP@DPOUFOU 'BUBMFSSPS 
 FOE
 FOE SFRVJSFTQFD@IFMQFS
 
 EFTDSJCFਖ਼ৗӾཡςετEP
 X 
 
 IPHF@QBHF
 GVHB@QBHF
  FBDIEPcQBHFc
 JU@CFIBWFT@MJLFDPSSFDUSFTQPOTF QBHF
 FOE
 FOE TVQQPSUTSFTQPOTFSC GFBUVSFTWBMJE@TQFDSC
  4. ࣮૷ྫʣ࢓༷ςετ EFTDSJCF͓஌Β͕ͤ౤ߘͰ͖Δ KTUSVFEP
 CFGPSFEP
 JOGPʹΞΫηε
 WJTJUJOGP
 
 JOQVUλάͷOBNFUJUMFʹλΠτϧΛೖྗ͢Δ
 pMM@JOUJUMF XJUI໊݅ςετ


    
 UFYUBSFBͷOBNFlCPEZzʹຊจΛೖྗ͢Δ
 pMM@JOCPEZ XJUIຊจςετ
 
 ϘλϯͷWBMVF஋ΛࢦఆͰ͖·͢
 DMJDL@CVUUPOొ࿥
 FOE
 
 CFGPSFʙEPͷಈ࡞͕શͯ׬ྃͨ͠ޙʹࢦఆͷจࣈྻ͕ը໘্ʹදࣔ͞Ε͍ͯΔ͔
 JU\FYQFDU QBHF UPIBWF@DPOUFOU͓஌ΒͤΛ౤ߘ͠·ͨ͠^
 FOE