ã¬ã¤ã
åºæ¬çãªä½¿ãæ¹
- ã¤ã³ã¹ãã¼ã«
- ã¯ããã«
- Vue ã¤ã³ã¹ã¿ã³ã¹
- ãã³ãã¬ã¼ãæ§æ
- ç®åºããããã£ã¨ã¦ã©ããã£
- ã¯ã©ã¹ã¨ã¹ã¿ã¤ã«ã®ãã¤ã³ãã£ã³ã°
- æ¡ä»¶ä»ãã¬ã³ããªã³ã°
- ãªã¹ãã¬ã³ããªã³ã°
- ã¤ãã³ããã³ããªã³ã°
- ãã©ã¼ã å ¥åãã¤ã³ãã£ã³ã°
- ã³ã³ãã¼ãã³ãã®åºæ¬
ã³ã³ãã¼ãã³ãã®è©³ç´°
- ã³ã³ãã¼ãã³ãã®ç»é²
- ããããã£
- ã«ã¹ã¿ã ã¤ãã³ã
- ã¹ããã
- åç & éåæã³ã³ãã¼ãã³ã
- ç¹å¥ãªåé¡ã«å¯¾å¦ãã
ãã©ã³ã¸ã·ã§ã³ã¨ã¢ãã¡ã¼ã·ã§ã³
- Enter/Leave ã¨ãã©ã³ã¸ã·ã§ã³ä¸è¦§
- ç¶æ ã®ãã©ã³ã¸ã·ã§ã³
åå©ç¨ã¨æ§æ
- ããã¯ã¹ã¤ã³
- ã«ã¹ã¿ã ãã£ã¬ã¯ãã£ã
- æç»é¢æ°ã¨JSX
- ãã©ã°ã¤ã³
- ãã£ã«ã¿ã¼
ãã¼ã«
- åä¸ãã¡ã¤ã«ã³ã³ãã¼ãã³ã
- ãã¹ã
- TypeScript ã®ãµãã¼ã
- ãããã¯ã·ã§ã³ç°å¢ã¸ã®é ä¿¡
ã¹ã±ã¼ã«ã¢ãã
- ã«ã¼ãã£ã³ã°
- ç¶æ 管ç
- ãµã¼ããµã¤ãã¬ã³ããªã³ã°
- ã»ãã¥ãªãã£
å é¨
- ãªã¢ã¯ãã£ãã®æ¢æ±
移è¡
- Vue 1.x ããã®ç§»è¡
- Vue Router 0.7.x ããã®ç§»è¡
- Vuex 0.6.x ãã 1.0 ã¸ã®ç§»è¡
ãã®ä»
- ä»ã®ãã¬ã¼ã ã¯ã¼ã¯ã¨ã®æ¯è¼
- Vue.js ã³ãã¥ããã£ã¸åå ãã¾ããã!
- ãã¼ã ã«ä¼ãã
v2.x 以åã®ããã¥ã¡ã³ãã§ãã v3.x ã®ããã¥ã¡ã³ããè¦ããå ´åã¯ãã¡ã
ãã¹ã
æçµæ´æ°æ¥: 2020å¹´11æ7æ¥
ã¯ããã«
ä¿¡é ¼æ§ã®é«ãã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ããæããã¹ãã¯å人ããã¼ã ãæ°æ©è½ãæ§ç¯ããããã³ã¼ãããªãã¡ã¯ã¿ãªã³ã°ãããããã°ãä¿®æ£ãããããè½åã«ããã¦éè¦ãªå½¹å²ãæãããã¨ãã§ãã¾ãããã¹ãã«ã¯å¤ãã®æµæ´¾ãããã¾ãããWeb ã¢ããªã±ã¼ã·ã§ã³ã®æèã§ããè°è«ãããã®ã¯3ã¤ã®ã«ãã´ãªã¼ã§ãã
- åä½ãã¹ã
- ã³ã³ãã¼ãã³ããã¹ã
- End-To-End (E2E) ãã¹ã
ãã®ã»ã¯ã·ã§ã³ã¯ããã¹ãã®ã¨ã³ã·ã¹ãã ãæ¡å ããVue ã¢ããªã±ã¼ã·ã§ã³ãã³ã³ãã¼ãã³ãã©ã¤ãã©ãªã«é©åãªãã¼ã«ãé¸æããããã®ã¬ã¤ãã³ã¹ãæä¾ãããã¨ãç®çã¨ãã¦ãã¾ãã
åä½ãã¹ã
å°å ¥
åä½ãã¹ãã§ã¯ãã³ã¼ãã®åã ã®ã¦ããããåé¢ãã¦ãã¹ããããã¨ãã§ãã¾ããåä½ãã¹ãã®ç®çã¯ãéçºè ãèªåã®ã³ã¼ãã«èªä¿¡ãæã¦ãããã«ãªããã¨ã§ããå¾¹åºãã¦æå³ã®ãããã¹ããæ¸ããã¨ã§ãæ°ããæ©è½ãæ§ç¯ãããããã³ã¼ãããªãã¡ã¯ã¿ãªã³ã°ãããããã¦ããã¢ããªã±ã¼ã·ã§ã³ãæ©è½çã§å®å®ããç¶æ ãç¶æã§ããã¨ããèªä¿¡ãæã¤ãã¨ãã§ãã¾ãã
Vue ã¢ããªã±ã¼ã·ã§ã³ã®åä½ãã¹ãã¯ãä»ã®ã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ãã¨å¤§ããªéãã¯ããã¾ããã
ãã¬ã¼ã ã¯ã¼ã¯ã®é¸å®
åä½ãã¹ãã®ã¢ããã¤ã¹ã¯ãã¬ã¼ã ã¯ã¼ã¯ã«ä¾åããªããã¨ãå¤ãã®ã§ãã¢ããªã±ã¼ã·ã§ã³ã«æé©ãªåä½ãã¹ããã¼ã«ãè©ä¾¡ããéã«å¿ã«çãã¦ããã¹ãåºæ¬çãªã¬ã¤ãã©ã¤ã³ãããã¤ãç´¹ä»ãã¾ãã
æé«ã®ã¨ã©ã¼ã¬ãã¼ã
ãã¹ãã失æããå ´åãåä½ãã¹ããã¬ã¼ã ã¯ã¼ã¯ãæç¨ãªã¨ã©ã¼ãæä¾ãã¦ããããã¨ãéè¦ã§ããããã¯ã¢ãµã¼ã·ã§ã³ã©ã¤ãã©ãªã®ä»äºã§ããé«å質ã®ã¨ã©ã¼ã¡ãã»ã¼ã¸ãæã¤ã¢ãµã¼ã·ã§ã³ã¯ãåé¡ã®ãããã°ã«ãããæéãæå°éã«æããã®ã«å½¹ç«ã¡ã¾ããã©ã®ãã¹ãã失æãã¦ããããä¼ããã ãã§ãªããã¢ãµã¼ã·ã§ã³ã©ã¤ãã©ãªã¯ããã¹ãã失æããçç±ãä¾ãã°ãä½ãæå¾ ããã¦ããã®ããä½ãåãåã£ãã®ããªã©ã®ã³ã³ããã¹ããæä¾ãã¾ãã
Jest ãªã©ã®ä¸é¨ã®åä½ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã«ã¯ãã¢ãµã¼ã·ã§ã³ã©ã¤ãã©ãªãå«ã¾ãã¦ãã¾ãããã®ä»ãMocha ã®ãããªãã®ã§ã¯ã¢ãµã¼ã·ã§ã³ã©ã¤ãã©ãªãå¥éã¤ã³ã¹ãã¼ã«ããå¿ è¦ãããã¾ã (é常㯠Chai)ã
ã¢ã¯ãã£ããªã³ãã¥ããã£ã¨ãã¼ã
åä½ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã®å¤§é¨åã¯ãªã¼ãã³ã½ã¼ã¹ãªã®ã§ãã¢ã¯ãã£ããªã³ãã¥ããã£ãæã¤ãã¨ã¯ãé·æéã«ããã£ã¦ãã¹ããã¡ã³ããã³ã¹ããããã¸ã§ã¯ããç©æ¥µçã«ç¶æããããã¨ãä¿è¨¼ããå¿ è¦ããããã¼ã ã«ã¨ã£ã¦éè¦ã§ããããã«ãã¢ã¯ãã£ããªã³ãã¥ããã£ãæã¤ãã¨ã«ã¯ãåé¡ãçºçããã¨ãã«ããå¤ãã®ãµãã¼ããåãããã¨ãã§ããã¨ããå©ç¹ãããã¾ãã
ãã¬ã¼ã ã¯ã¼ã¯
ã¨ã³ã·ã¹ãã ã«ã¯å¤ãã®ãã¼ã«ãããã¾ãããVue.js ã§ä½¿ç¨ããã¦ããä¸è¬çãªåä½ãã¹ããã¼ã«ã¯æ¬¡ã®éãã§ãã
Jest
Jest ã¯ãã·ã³ãã«ããéè¦ãã JavaScript ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã§ãããã®ã¦ãã¼ã¯ãªæ©è½ã®1ã¤ã¯ãã¢ããªã±ã¼ã·ã§ã³ã®ã¦ããããæ¤è¨¼ããããã®ä»£æ¿æ段ã¨ãã¦æä¾ãã¦ãããã¹ãã®ã¹ãããã·ã§ãããåãæ©è½ã§ãã
ãªã½ã¼ã¹:
Mocha
Mocha ã¯ãæè»æ§ã«éç¹ãç½®ãã JavaScript ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã§ãããã®æè»æ§ã«ãããã¹ãã¤ï¼Sinon ãªã©ï¼ãã¢ãµã¼ã·ã§ã³ï¼Chai ãªã©ï¼ãªã©ã®ä»ã®ä¸è¬çãªæ©è½ãæºããããã«ããã¾ãã¾ãªã©ã¤ãã©ãªãé¸æã§ãã¾ãã Mocha ã®ãã1ã¤ã®ã¦ãã¼ã¯ãªæ©è½ã¯ãNode.js ã«å ãã¦ãã©ã¦ã¶ã§ããã¹ããå®è¡ã§ãããã¨ã§ãã
ãªã½ã¼ã¹:
ã³ã³ãã¼ãã³ããã¹ã
å°å ¥
ã»ã¨ãã©ã® Vue ã³ã³ãã¼ãã³ãããã¹ãããã«ã¯ãããããæ©è½ãã¦ãããã¨ãå®å ¨ã«æ¤è¨¼ããããã«ããããã DOMï¼ä»®æ³ã¾ãã¯ãªã¢ã«ï¼ã«ãã¦ã³ãããå¿ è¦ãããã¾ããããã¯ããã¬ã¼ã ã¯ã¼ã¯ã«ä¾åããªãã³ã³ã»ããã§ãããã®çµæãã³ã³ãã¼ãã³ããã¹ããã¬ã¼ã ã¯ã¼ã¯ãä½æãããã¦ã¼ã¶ã¼ã確å®ã«ã§ããæ¹æ³ã§ãããè¡ããã¨ãã§ããã¨åæã«ãVuexãVue Routerãããã³ãã®ä»ã® Vue ãã©ã°ã¤ã³ã®çµ±åãªã©ãVue åºæã®ä¾¿å©ããæä¾ããã¾ãã
ãã¬ã¼ã ã¯ã¼ã¯ã®é¸æ
次ã®ã»ã¯ã·ã§ã³ã§ã¯ãã¢ããªã±ã¼ã·ã§ã³ã«æé©ãªã³ã³ãã¼ãã³ããã¹ããã¬ã¼ã ã¯ã¼ã¯ãè©ä¾¡ããéã«çæãã¹ãã¬ã¤ãã©ã¤ã³ã示ãã¾ãã
Vue ã¨ã³ã·ã¹ãã ã¨ã®æé©ãªäºææ§
æåã®åºæºã®1ã¤ããã³ã³ãã¼ãã³ããã¹ãã©ã¤ãã©ãªã Vue ã¨ã³ã·ã¹ãã ã¨å¯è½ãªéãäºææ§ãæã¤ã¹ãã¨ããç¹ãªã®ã¯é©ãã«å¤ãã¾ãããããã¯å æ¬çã«æããããããã¾ããããçæãã¹ãããã¤ãã®éè¦ãªé¢ä¿é åã«ã¯ãåä¸ãã¡ã¤ã«ã³ã³ãã¼ãã³ãï¼SFCï¼ãVuexãVue Routerãããã³ã¢ããªã±ã¼ã·ã§ã³ãä¾åãããã®ä»ã® Vue åºæã®ãã©ã°ã¤ã³ãå«ã¾ãã¾ãã
æé«ã®ã¨ã©ã¼ã¬ãã¼ã
ãã¹ãã失æããå ´åãã³ã³ãã¼ãã³ããã¹ãã®ãã¬ã¼ã ã¯ã¼ã¯ããåé¡ã®ãããã°ã«ãããæéãæå°éã«æããã®ã«å½¹ç«ã¤æç¨ãªã¨ã©ã¼ãã°ãæä¾ãããã¨ãéè¦ã§ããã©ã®ãã¹ãã失æããããåã«ä¼ããã ãã§ãªãããªããã¹ãã失æããã®ããä¾ãã°ãä½ãæå¾ ããã¦ããã®ããä½ãåãåã£ãã®ããªã©ã®ã³ã³ããã¹ããæä¾ããªããã°ãªãã¾ããã
æ¨å¥¨ãã¼ã«
Vue Testing Library (@testing-library/vue)
Vue Testing Library ã¯ãå®è£ ã®è©³ç´°ã«ä¾åããã«ã³ã³ãã¼ãã³ãããã¹ããããã¨ã«ç¦ç¹ãå½ã¦ããã¼ã«ç¾¤ã§ããã¢ã¯ã»ã·ããªãã£ãèæ ®ãã¦æ§ç¯ããã¦ããããããã®ã¢ããã¼ãã¯ãªãã¡ã¯ã¿ãªã³ã°ã容æã«ãã¾ãã
ãã®æéã¨ãªãååã¯ããã¹ããã½ããã¦ã§ã¢ã®ä½¿ç¨æ¹æ³ã«é¡ä¼¼ãã¦ããã»ã©ããã¹ãã®ä¿¡é ¼æ§ãé«ããªãã¨ãããã¨ã§ãã
ãªã½ã¼ã¹:
Vue Test Utils
Vue Test Utils ã¯ãã¦ã¼ã¶ã¼ã Vue åºæã® API ã¸ã®ã¢ã¯ã»ã¹ãæä¾ããããã«æ¸ãããå ¬å¼ã®ä½ã¬ãã«ã³ã³ãã¼ãã³ããã¹ãã©ã¤ãã©ãªã§ããVue ã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ããåãã¦è¡ãå ´åã¯ãVue Test Utils ãæ½è±¡åãã Vue Testing Library ã使ç¨ãããã¨ããå§ããã¾ãã
ãªã½ã¼ã¹:
- Official Vue Test Utils Documentation
- Vue Testing Handbook by Lachlan Miller
- Cookbook: Unit Testing Vue Components
End-to-End (E2E) ãã¹ã
å°å ¥
åä½ãã¹ãã¯éçºè ã«ããç¨åº¦ã®ä¿¡é ¼æ§ãæä¾ãã¾ãããåä½ãã¹ãã¨ã³ã³ãã¼ãã³ããã¹ãã¯ãæ¬çªç°å¢ã«ãããã¤ãããã¨ãã«ãã¢ããªã±ã¼ã·ã§ã³ã®å ¨ä½çãªã«ãã¬ãã¸ãæä¾ããè½åã«ã¯éçãããã¾ããçµæã¨ãã¦ã end-to-end (E2E) ãã¹ããã¢ããªã±ã¼ã·ã§ã³ã®æãéè¦ãªå´é¢ãããªãã¡ã¦ã¼ã¶ã¼ãå®éã«ã¢ããªã±ã¼ã·ã§ã³ã使ç¨ããã¨ãã«ä½ãèµ·ãããããã«ãã¼ãã¦ãã¾ãã
è¨ãæããã°ãE2E ãã¹ãã¯ãã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ã¦ã®ã¬ã¤ã¤ã¼ãæ¤è¨¼ãã¾ããããã«ã¯ãããã³ãã¨ã³ãã®ã³ã¼ãã ãã§ãªããé¢é£ãããã¹ã¦ã®ããã¯ã¨ã³ããµã¼ãã¹ãã¤ã³ãã©ã¹ãã©ã¯ãã£ãå«ã¾ããã¦ã¼ã¶ã¼ã®ç°å¢ããã表ããã®ã¨ãªãã¾ããã¦ã¼ã¶ã¼ã®ã¢ã¯ã·ã§ã³ãã¢ããªã±ã¼ã·ã§ã³ã«ã©ã®ãããªå½±é¿ãä¸ãããããã¹ããããã¨ã§ãE2E ãã¹ãã¯ãã¢ããªã±ã¼ã·ã§ã³ãé©åã«æ©è½ãã¦ãããã©ããã®ä¿¡é ¼æ§ãé«ããéµã¨ãªãã¾ãã
ãã¬ã¼ã ã¯ã¼ã¯ã®é¸å®
Web ä¸ã® end-to-end (E2E) ãã¹ãã¯ãä¿¡é ¼æ§ã®ä½ã (æ¬ é¥ã®ãã) ãã¹ãã§éçºããã»ã¹ãé ãããã¨ããå¦å®ãåãã¦ãã¾ããããææ°ã® E2E ãã¼ã«ã¯ãããä¿¡é ¼æ§ã®é«ããã¤ã³ã¿ã©ã¯ãã£ãã§æç¨ãªãã¹ããä½æããããã«èºé²ãã¾ããã以ä¸ã®ã»ã¯ã·ã§ã³ã§ã¯ãE2E ãã¹ããã¬ã¼ã ã¯ã¼ã¯ãé¸æããéã«çæãã¹ããã¨ã«ã¤ãã¦ã®ã¬ã¤ãã³ã¹ãæä¾ãã¾ãã
ã¯ãã¹ãã©ã¦ã¶ãã¹ã
end-to-end (E2E)ãã¹ãã®ç¥ããã¦ãã主ãªå©ç¹ã®1ã¤ã¯ãè¤æ°ã®ãã©ã¦ã¶ã«ã¾ããã£ã¦ã¢ããªã±ã¼ã·ã§ã³ããã¹ãã§ãããã¨ã§ãã100%ã¯ãã¹ãã©ã¦ã¶ãã«ãã¼ãããã¨ãæã¾ããã¨æãããããããã¾ããããã¯ãã¹ãã©ã¦ã¶ãã¹ããä¸è²«ãã¦å®è¡ããããã«å¿ è¦ãªè¿½å ã®æéã¨ãã·ã³ãã¯ã¼ã®ããã«ããã¼ã ã®ãªã½ã¼ã¹ã«å¯¾ãããªã¿ã¼ã³ãæ¸å°ãããã¨ã«æ³¨æãããã¨ãéè¦ã§ããçµæã¨ãã¦ãã¢ããªã±ã¼ã·ã§ã³ãå¿ è¦ã¨ããã¯ãã¹ãã©ã¦ã¶ãã¹ãã®éãé¸æããéã«ã¯ããã®ãã¬ã¼ããªãã念é ã«ç½®ããã¨ãéè¦ã§ãã
æè¿ã® E2E éçºã§ã¯ãã©ã¦ã¶åºæã®åé¡ãè£è¶³ããããã«ãä¸è¬çã«ä½¿ç¨ããã¦ããªããã©ã¦ã¶ï¼IE11 æªæºãå¤ããã¼ã¸ã§ã³ã® Safari ãªã©ï¼ã®ããã«ã¢ããªã±ã¼ã·ã§ã³ã®ç£è¦ã¨ã¨ã©ã¼å ±åãã¼ã«ï¼SentryãLogRocket ãªã©ï¼ã使ç¨ããã¦ãã¾ãã
é«éãªãã£ã¼ãããã¯ã«ã¼ã
end-to-end (E2E) ãã¹ãã¨éçºã®ä¸»ãªåé¡ã®1ã¤ã¯ããã¹ãå ¨ä½ã®å®è¡ã«é·ãæéãããããã¨ã§ããä¸è¬çã«ãããã¯ç¶ç¶çã¤ã³ãã°ã¬ã¼ã·ã§ã³ã¨ç¶ç¶çããªããªã¼ï¼CI/CDï¼ã®ãã¤ãã©ã¤ã³ã§ã®ã¿è¡ããã¾ããææ°ã® E2E ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã¯ã並ååã®ãããªæ©è½ã追å ãããã¨ã§ãCI/CD ãã¤ãã©ã¤ã³ã以åãããå¤§å¹ ã«é«éã«å®è¡ã§ãããã«ãã¦ãã®åé¡ã解決ãã¦ãã¾ããããã«ããã¼ã«ã«ã§éçºããå ´åããã¹ãã®ããããªãã¼ããæä¾ããªããä½æ¥ä¸ã®ãã¼ã¸ã®åä¸ãã¹ããé¸æçã«å®è¡ããæ©è½ã¯ãéçºè ã®ã¯ã¼ã¯ããã¼ã¨çç£æ§ãåä¸ãããã®ã«å½¹ç«ã¡ã¾ãã
æé«ã®ãããã°ä½é¨
éçºè ã¯å¾æ¥ãã¿ã¼ããã«ã¦ã£ã³ãã¦ã§ãã°ãã¹ãã£ã³ãã¦ãã¹ãã§ä½ããã¾ããããªãã£ãããå¤æãã¦ãã¾ããããææ°ã® end-to-end (E2E) ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã§ã¯ããã©ã¦ã¶éçºè ãã¼ã«ãªã©éçºè ããã§ã«ä½¿ãæ £ãããã¼ã«ãæ´»ç¨ãããã¨ãã§ãã¾ãã
ãããã¬ã¹ã¢ã¼ãã§ã®è¦èªæ§
end-to-end (E2E)ãã¹ããç¶ç¶çã¤ã³ãã°ã¬ã¼ã·ã§ã³/ç¶ç¶çããªããªã¼ã®ãã¤ãã©ã¤ã³ã§å®è¡ãããå ´åãå¤ãã¯ãããã¬ã¹ãã©ã¦ã¶ã§å®è¡ããã¾ãï¼ã¤ã¾ããã¦ã¼ã¶ã¼ãè¦ãããã®ãã©ã¦ã¶ãéããã¦ããªãï¼ããã®ãããã¨ã©ã¼ãçºçããæã«ãææ°ã® E2E ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ã第ä¸ç´ã®ãµãã¼ããæä¾ããéè¦ãªæ©è½ã¯ãã¨ã©ã¼ãçºçããçç±ãææ¡ããããã«ããã¾ãã¾ãªãã¹ã段éã§ã®ã¢ããªã±ã¼ã·ã§ã³ã®ã¹ãããã·ã§ããããããªã表示ããæ©è½ã§ããæ´å²çã«ããããã®çµ±åãç¶æããã®ã¯é¢åã§ããã
æ¨å¥¨ãã¼ã«
ã¨ã³ã·ã¹ãã ã«ã¯å¤ãã®ãã¼ã«ãããã¾ãããããã§ã¯ Vue.js ã®ã¨ã³ã·ã¹ãã ã§ä½¿ç¨ããã¦ããä¸è¬ç㪠end-to-end (E2E)ãã¹ããã¬ã¼ã ã¯ã¼ã¯ãããã¤ãç´¹ä»ãã¾ãã
Cypress.io
Cypress.io ã¯ãæé«ã®éçºè ä½é¨ãæä¾ããªãããéçºè ãä¿¡é ¼æ§ã®é«ãæ¹æ³ã§ã¢ããªã±ã¼ã·ã§ã³ããã¹ãã§ããããã«ãããã¨ã§ãéçºè ã®çç£æ§ãé«ãããã¨ãç®çã¨ãããã¹ããã¬ã¼ã ã¯ã¼ã¯ã§ãã
ãªã½ã¼ã¹:
Nightwatch.js
Nightwatch.js ã¯ãNode.js ã®åä½ãã¹ããçµ±åãã¹ãã ãã§ãªããWeb ã¢ããªã±ã¼ã·ã§ã³ã Web ãµã¤ãã®ãã¹ãã«ã使ãã end-to-end ã®ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã§ãã
ãªã½ã¼ã¹:
Puppeteer
Puppeteer ã¯ãã©ã¦ã¶ãå¶å¾¡ããããã®é«ã¬ãã«ã® API ãæä¾ãã Node ã©ã¤ãã©ãªã§ãã¢ããªã±ã¼ã·ã§ã³ããã¹ãããããã«ä»ã®ãã¹ãã©ã³ãã¼ (ä¾: Jest) ã¨é£æºãããã¨ãã§ãã¾ãã
ãªã½ã¼ã¹:
TestCafe
TestCafe 㯠Node.js ãã¼ã¹ã® end-to-end ãã¬ã¼ã ã¯ã¼ã¯ã§ãéçºè ãæ¸ããããä¿¡é ¼æ§ã®é«ããã¹ãã®ä½æã«éä¸ã§ããããã«ãç°¡åãªã»ããã¢ãããæä¾ãããã¨ãç®çã¨ãã¦ãã¾ãã
ãªã½ã¼ã¹: