2024å¹´12æ20æ¥ ã½ããã¦ã§ã¢ãã¹ãã·ã³ãã¸ã¦ã 2024 æ±æµ· #jassttokai24
2024å¹´12æ20æ¥ ã½ããã¦ã§ã¢ãã¹ãã·ã³ãã¸ã¦ã 2024 æ±æµ· #jassttokai24
ã¹ã©ã¤ãæ¦è¦ JJUG CCC 2024 Springã§ã®ã¹ãã³ãµã¼ã»ãã·ã§ã³ããã¹ãã³ã¼ããæ ¹ä»ããã¼ã ãç«ã¡ä¸ããããã«èããããã¨ãã®å ¬éè³æã§ãã ã·ã³ãã¬ã¯ã¹ã¯1997å¹´ã®åµæ¥ä»¥æ¥ãã¡ã¬ãã³ã¯ã大æç·å証å¸ãçé ã«ãæ¥æ¬ã代表ããéèæ©é¢ã®ãã¯ããã¸ã¼ãã¼ããã¼ã¨ãã¦ãã¸ãã¹ãå±éãã¦ãã¾ãããç¾å¨ã§ã¯ãéèé åã§å¹ã£ãè±å¯ãªãã¦ãã¦ãæ´»ç¨ããéèæ©é¢ä»¥å¤ã®é åã§ãã½ãªã¥ã¼ã·ã§ã³ãå±éãã¦ãã¾ãã2019å¹´3æã«ã¯AIä¼æ¥ã®Deep Perceptæ ªå¼ä¼ç¤¾ã2021å¹´4æã«ã¯ç·åã³ã³ãµã«ãã£ã³ã°ãã¡ã¼ã ã®Xspear Consultingæ ªå¼ä¼ç¤¾ãã°ã«ã¼ãã«å ãããåµæ¥æããä»å 価å¤ã®åµé ã«åãçµãã§ããã·ã³ãã¬ã¯ã¹ã¨ã¯ã³ãã¼ã ã¨ãªã£ã¦ãå ¬çæ©é¢ãéèæ©é¢ãåæ¥çããªã¼ãããä¼æ¥ã®ãã¸ã¿ã«ãã©ã³ã¹ãã©ã¼ã¡ã¼ã·ã§ã³ï¼DXï¼ã®æ¨é²ãæ¯æ´ãã¦ãã¾ãã
ããã«ã¡ã¯ã横é è³å¸çæAIæ¨é²ãã¼ã ã®Mç°ã§ãã 横é è³å¸ãChatGPTãå ¨åºå©ç¨ãå§ãã¦1å¹´çµã¡ã¾ããããç¾å¨ãããããå¸æ°åãã®AIãµã¼ãã¹ã®å®ç¾ã«åãã¦ç¸è«AIãã£ãããããã®å®è¨¼å®é¨ãã¯ãããã¨ããã§ãã æ¢ã«å¤ãã®äººãã話ãããã¦ããã£ã¦ãã¦ãæ³å®ãããããå¤ãã®ã¢ã¯ã»ã¹ããã£ãããä¸æåæ¢ãããã©ãã«ãããã¾ããâ¦ã ï¼ç¾å¨ã¯åãã¦ãã¾ãï¼ ä»åã¯ããã®ããã£ã³ãºãããå ¬éããã«ããã£ã¦ãå é¨ã§è¡ããã¹ããChatGPTï¼GPT-4oï¼ã¨Pythonããã°ã©ã ã使ã£ã¦è¶ å¹çåããããã¨ãã話ã§ãã AIãã£ãããããã®ãã¹ãAIãã£ããããããä½ãã«ããã£ã¦ããã£ãããããã®æåï¼æãã è¿çããã¦ãããï¼ã®ãã§ãã¯ããããã¹ãã¯æ¬ ããã¾ããã ãã¹ãã¯ãã¾ãè¤æ°ã®ã·ããªãªãä½ãããã£ãããããã¸è³ªåããåçãæ¡ç¹ãã¾ããããã¦ãæ¡ç¹çµæããã¨ã«ãã£ããããããä¿®æ£ãã¦ãå度
ã¯ããã« ãã®è¨äºã¯ ã¬ã¬ã·ã¼ã³ã¼ãæ¹åã¬ã¤ã: ä¿å®éçºã®ããã®ãªãã¡ã¯ã¿ãªã³ã° ãåèã«æãåããã¦ã¿ã¦ãããç¨åº¦èªåã®ä¸ã§ä½ç³»çã«ã¾ã¨ã¾ã£ãç¥èã®ã¢ã¦ããããã§ãã ãã®è¨äºã§æ±ãå 容 ãã®è¨äºã§æ±ãã®ã¯ä¸»ã«ã¬ã¬ã·ã¼ã³ã¼ãã§åä½ãã¹ããæ¸ãéã®ãã¼ãã«ã«ãªããã¡ãª ä¾åé¢ä¿ã®æé¤ ã«é¢ããææ³ãç´¹ä»ãã¾ãã ãã®è¨äºãèªãã å¾ã«ã ããã®è¦³ç¹ãæã£ã¦ããã°åä½ãã¹ããã¹ã ã¼ãºã«æ¸ãã¦ããããï¼ã ãä»ã¾ã§ã¢ãã¯ä½¿ã£ã¦ããã©æå¤ã¨ã¢ãã¯ä½¿ããªãã¦ãæ¸ãããï¼ã ã¨ãªã£ãããããªãã¨æãã¾ãã ã¡ãªã¿ã«ãä»ã¾ã§ããã¾ããã¹ãæ¸ãããã¨ãªããã¼ã¦äººã¯ä»¥ä¸ã®è¨äºãªã©åèã«ãã¦ä¸åº¦ãã£ã¦ã¿ã¦ãã ããã ããã ãã¹ãé§åä¸å ·åä¿®æ£ or ãªãã¡ã¯ã¿ãªã³ã°æé ãªããã¹ããæ¸ããªãã®ã ä¾åé¢ä¿ãæé¤ã§ããã°ãã¹ãã¯æ¸ãã ä¾åé¢ä¿ãæé¤ããããã®ã«ã®ã«ãªãèãæ¹ æ¸ããªãåä½ãã¹ãããªããªãï¼
Visual Studio Code (VSCode) is a popular code editor that can be used as an alternative to Postman for API testing. With the right extensions, developers can easily create, manage, and test APIs within the VSCode environment. Using Thunder Client with VSCode for API testing can streamline the development workflow and save time by using a single tool for coding and testing, as this article will sho
ããã«ã¡ã¯ãkintoneãã¼ã ã®å·åã§ãã ã½ã¼ã¹ã³ã¼ãããã·ã¥å¤è¨ç®ãã¼ã«ã§ããsverãå°å ¥ãã¦CIã®é«éåãè¡ã£ãã®ã§ããã®ç´¹ä»ãããã¦ãã ããã ãã®ä»çµã¿ã«ãããé常ã¯1æéãããCIã®å®è¡æéãæåã®ã±ã¼ã¹ã§ã¯20åç¨åº¦ã«ç縮å¯è½ã«ãªãã¾ããã å°å ¥åã®èª²é¡ 解決æ¹æ³ã®æ¤è¨ sverã使ã£ããã¹ãã®ã¹ãããã«ããCIé«éå kintoneã§ã®sverã®å©ç¨æ¹æ³ sverè¨å®ãã¡ã¤ã«ã®æ¸ãæ¹ ãã£ãã·ã¥ã®ä¿åå (GitHub Actions CacheãAmazon S3) sverã使ã£ãã¸ã§ãã®æ¸ãæ¹ sveræ å ±çæã¸ã§ã: ããã·ã¥çæã¨ãã£ãã·ã¥ã®åå¨ç¢ºèª ãã«ãã¸ã§ã: ä¾åãã¡ã¤ã«ä»¥å¤ã«ä¾åããªããã¨ã®ç¢ºèª ãã¹ãã¸ã§ã: ã¸ã§ãæåå¾ã«ãã£ãã·ã¥ä¿å ä¸æµã¸ã§ãã®ifã®æ¸ãæ¹ çµæ 課é¡ã¨ä»å¾ã®å±é ã¾ã¨ã å°å ¥åã®èª²é¡ kintoneã®CIã®å¤§ã¾ããªæ§æã¯ä»¥ä¸
ã¯ããã« JavaScriptã«ããããã¹ãã®ãã¹ããã©ã¯ãã£ã¹ãã¾ã¨ãããjavascript-testing-best-practicesãã¨ããGitHubã¬ãã¸ããªã大å¤åå¼·ã«ãªã£ããããç¹ã«åèã«ãªã£ãå 容ãã¾ã¨ãã¦å ±æãããã¨æãã¾ãã ï¼è£è¶³ï¼æ¬ã¬ãã¸ããªã«ã¯frontendã®ã¿ãªããbackendã®ãã¹ãã«é¢ããæ å ±ãããã¾ãããä»åã¯frontendã«ç¦ç¹ãå½ã¦ã¦å ±æãã¾ãããã®ããæ±ãSectionã¯ä»¥ä¸ã®4ã¤ã§ãã Section 0: The Golden Rule Section 1: The Test Anatomy Section 3: Frontend Section 4: Measuring Tests Effectiveness æ³å®èªè ããã³ãã¨ã³ãã®å®è£ ã¯ã§ãããããã¹ãçµé¨ã¯ãªãæ¹ ãã¹ãã«å¯¾ãã¦è§£å度ãä½ãæ¹ ãããããã¹ããå¦ã³ããã¨æã£ã¦ã
ï¼ãã®è©±ã¯æåTwitterã«æ¸ããã¨æã£ããã©ãé·ããªãã®ã§ããã°ã«æ¸ããã¨ã«ãã¾ããï¼ åã¯RSpecãMinitestã§ãã¹ããæ¸ãã®ã¯å¾æã§ããã常ã«ãã¹ããã¡ã¼ã¹ãï¼TDDï¼ã§éçºããã¨ã¯éãã¾ããã ä»æ¥åã§ãã£ã¦ãã¿ã¹ã¯ã¯ãããªãµãã«é²ãã¦ã¾ãã éã«åããã®ãä½ã â è¦ãç®ããããã«ããï¼æ©è½ãä½ãè¾¼ã â ãã¹ããæ¸ã â ãªãã¡ã¯ã¿ãªã³ã°ãã ãã®é çªã§éçºããçç±ã以ä¸ã«è¿°ã¹ã¾ãã éã«åããã®ãæåã«ä½ãçç± æåã¯è¦ãç®ã¨ããç°å¸¸ç³»ã¨ããç´°ããä»æ§ã¨ããç¡è¦ãã¦ãæ£å¸¸ç³»ãä¸éãåããã®ãä½ãã¾ãã ããã¯ããããä½ããã¨ãã¦ãããã®ã®èªèãåã£ã¦ãããã©ãããPOï¼ãããã¯ããªã¼ãã¼ï¼ã«ç¢ºèªããããã§ãã å®éã«åãç»é¢ãè¦ããã¨ããããªæãã§OKãã¨ããããã¯ãããããµãã«ããããã¨ãããã£ã¼ãããã¯ãããããã¨ãã§ãã¾ãã ã¾ããéçºè ã¨ãã¦ãã³ã¼ããæ¸ããª
ããã³ãã¨ã³ããã¹ãã«ãããç¥è¦ã®å®åº«ãçºè¦ï¼ãjavascript-testing-best-practicesãJavaScriptãã¹ãããã³ãã¨ã³ã ã¯ããã« JavaScriptã«ããããã¹ãã®ãã¹ããã©ã¯ãã£ã¹ãã¾ã¨ãããjavascript-testing-best-practicesãã¨ããGitHubã¬ãã¸ããªã大å¤åå¼·ã«ãªã£ããããç¹ã«åèã«ãªã£ãå 容ãã¾ã¨ãã¦å ±æãããã¨æãã¾ãã ï¼è£è¶³ï¼æ¬ã¬ãã¸ããªã«ã¯frontendã®ã¿ãªããbackendã®ãã¹ãã«é¢ããæ å ±ãããã¾ãããä»åã¯frontendã«ç¦ç¹ãå½ã¦ã¦å ±æãã¾ãããã®ããæ±ãSectionã¯ä»¥ä¸ã®4ã¤ã§ãã Section 0: The Golden Rule Section 1: The Test Anatomy Section 3: Frontend Section 4: Measuring Test
ãã㯠Livesense Advent Calendar 2022 DAY 20 ã®è¨äºã§ãã ã¯ããã« æ ªå¼ä¼ç¤¾ãªãã»ã³ã¹ã®è»¢è·ä¼è°äºæ¥é¨Webã¨ã³ã¸ãã¢ã® @ishitan-liv ã§ãã ä»åã¯ãéå»ã«è»¢è·ä¼è°ã§ãå°å ¥ãããã¨ãã¦æ«æãã¦ããE2Eãã¹ãã«ã¤ãã¦æ¸ãã¾ãã E2Eãã¹ããèªä½ããããSaaSã使ãã®ãã§æ¯è¼ããçµæã¨ãDatadog Synthetics Testsã®ä½¿ãæ¹ã軽ãç´¹ä»ãããã¨æãã¾ãã ãªãããã®å°å ¥ã«ã¤ãã¦ã¯å®å ¨ã«å人ããã¸ã§ã¯ãã¨ãã¦ãã£ã¦ããã¾ãã ãªãã»ã³ã¹ã§ã¯ã¨ã³ã¸ãã¢ã®æ¨©å©ã¨ãã¦æ¯æ10%ã®æè¡æè³æ 確ä¿ã¨ãããã®ããããGoogleã®20%ã«ã¼ã«ã®ãããªãã®ã§ãç´20æ¥å¤åã ã¨æ³å®ãã¦2æ¥éã¯èå³ã®ããæè¡çãªãã¨ã«ä½¿ãã¾ãã grow.google ã¯ããã« ãã®ããã°è¨äºãèªãã¨å¾ããã(ã¨æããã)ãã® ä»åæ¸ããªãã㨠å°å ¥æ¤è¨
ã¯ããã« ããã³ãã¨ã³ãã®ãã¹ãææ³ã® 1 ã¤ã« Visual Regression Testingï¼ä»¥ä¸ãVRTï¼ãããã¾ãã ããã¯ãã¢ããªã±ã¼ã·ã§ã³ã®ç»é¢ãç»åã¨ãã¦ä¿åããç»åã®å·®åæ¯è¼ããããã¨ã§æå³ãã¬å¤æ´ãçãã¦ããªãããã¹ãããæ¹æ³ã§ãã ããæ°å¹´ã§åºãæ®åããç¨èªã¨ãã¦ãä¸è¬çã«ãªã£ãããã«æãã¾ãã ç§ã以åãã¨ãã OSS ã« reg-suit & Storycap ã使ã£ã VRT ãå°å ¥ãããã¨ãããã®ã§ããããã®å¾ãããã¤ã VRT ã®ããã®ã©ã¤ãã©ãªãç»å ´ãããã®ã®ãã£ããã¢ããã§ãã¦ãã¾ããã§ããã ããã§ä»åã¯ç¥èã®ã¢ãããã¼ããç®çã¨ãã¦ãããæè¿ç»å ´ããï¼ã¨æãããï¼VRT ã®ã©ã¤ãã©ãªãããã¤ããç´¹ä»ãã¾ãã ãªããä»åç´¹ä»ãããã¼ã«ã¯ãã¹ã¦ãã¡ãã®ãªãã¸ããªã§è©¦ãã¦ãã¾ãã å ·ä½çãªè¨å®ãã¡ã¤ã«ãåä½çµæã確èªã§ããããã«ãªã£ã¦ãã¾ãã®ã§ããèå³ã
12æ10æ¥ã®2022ã½ããã¦ã§ã¢ãã¹ãã¢ããã³ãã«ã¬ã³ãã¼ã§ãã Launchable社ã§ã¨ã³ã¸ãã¢ã¨ãã¦åãã¦ããcvuskã¨ç³ãã¾ããæ©æ¢°å¦ç¿çéã§ã¯æ©æ¢°å¦ç¿ãå®ç¨åããããã®ã·ã¹ãã éçºã®æ¬ãæ¸ãã¦ããã¾ããããè¯ãã£ããèªãã§ã¿ã¦ãã ããã ãæ©æ¢°å¦ç¿ã·ã¹ãã ãã¶ã¤ã³ãã¿ã¼ã³ã ãæ©æ¢°å¦ç¿ã·ã¹ãã æ§ç¯å®è·µã¬ã¤ãã æ¬ããã°ã§ã¯æ©æ¢°å¦ç¿ãç¨ãã¦ãã¹ãå®è¡ãå¹çåããææ³ã¨ãã¦ãPredictive Test Selectionã«ã¤ãã¦èª¬æãã¾ãããã¹ãå®è¡æéãã³ã¹ãã§èª²é¡ãæ±ãã¦ããã¨ã³ã¸ãã¢ã«å½¹ã«ç«ã¤ã¨å¹¸ãã§ãã æ¨ä»ã®éçºã«ããããã¹ãäºæ 2002å¹´ã«ããã¹ãé§åéçºããä¸ã«åºã¦ãã½ããã¦ã§ã¢éçºã§ãã¹ããæ¸ããã¨ã常èã«ãªã£ã¦æ©20å¹´ãçµã£ã¦ãã¾ãããã®éã«ã¯ã©ã¦ãã®ç»å ´ãDevOpsã®æ®åã«ããããã¹ããCI/CDãã¤ãã©ã¤ã³ã§èªåå®è¡ããã³ã¼ãã¨ãããã¯ãå質ãç¶æã
runn is ä½ï¼ ï¼è¡ã¾ã¨ã ä»å㯠API ã·ããªãªãã¹ããã¼ã«ã® runn ãããã¸ã§ã¯ãã«å°å ¥ããä¸é¨æ©è½ã®ã³ã³ããªãã¥ã¼ãããªãã 3 ã¶æé触ã£ã¦ã¿ã¦ããããã ã¨æãããã¨ãè¨äºã«ã¾ã¨ãããã¨æãã¾ãã runnã¨ã®åºä¼ã 4 ã¶æã»ã©åã«ã¹ãã¼ãé§åéçºãè¡ã£ã¦ããããã¸ã§ã¯ãã§ããæãã® API ã®ãã¹ãããããã¨è²ã èª¿æ» ããã¦ãã¾ããã ãã®å½æ㯠OpenAPI ã§ã¹ãã¼ãå®ç¾©ã㦠swagger-ui ããããããæåãã¹ãããã¦ãã¾ããããAPI ã®æ°ãå¢ãããåã API ã§ããã¿ã¼ã³ãçµæ§ãããæµç³ã«æåã§ã®ãã¹ãã§ã¯éçããããªã¼ã¨èãã¦ãã¾ããã ãã©ã¡ã¼ã¿æ°ãå¤ãã®ã§ Controller ãã¹ãã§æ¸ãã«ãã¦ãã³ã¼ãéãå¤ããã¬ãã¥ã¼ãè¾ãã¨æãã¦ãã¾ããã API ã E2E ã§ãã¹ãããããæçµçã«ã¯ CI ã§èªåãã¹ãã¾ã§ãã£ã¦ããããã¨æãã¾
ã¯ããã« æè¿ã§ã¯ãå¤æ§ãªãã¹ãææ³ãéçºè åããã¼ã«ãæ£è¦ãã¾ãã ã¨ã³ããã¼ã¨ã³ãï¼E2Eï¼ãã¹ãã ãã§ãããCypressããPuppeteerããPlaywrightããSeleniumããªã©ã®ãã¼ã«ãããã¾ããåä½ãã¹ãã§ã¯ãVitestãããVisual Studioãã®ãã«ãã¤ã³åä½ãã¹ãæ©è½ãªã©ããã¹ãã®æºåã容æã«èªååã§ãã¾ãã ã§ãããå¤æ§ãªãã¹ããã¼ã«ãå°å ¥ãã¦ãããWhenãããHowããæ¼ããã¦ãªããã°ããã¹ãã®å¹æãæå¹ã«å¾ããã¨ãã§ããªãã¨èãã¦ãã¾ãã ã¾ããéçãã¹ããåä½ãã¹ããçµ±åãã¹ããE2Eãã¹ããå®è£ ã³ã¹ããå®è¡æéã¨ä¿¡é ¼æ§ã®è¦³ç¹ã§è¦ã¦ãããç¡é§ãæ¼ãã®ãªããã¹ãæ¦ç¥ãç«ã¦ã¦ããã¾ããã ã ãã¹ããå®è£ ã³ã¹ããå®è¡æéã¨ä¿¡é ¼æ§ã§èãã ã©ã®ãã¹ãã使ç¨ãããã®é¸æãã観ç¹ã¨ãã¦ããã¹ããããå®è£ ã³ã¹ããå®è¡æéã¨ããã¹ãçµæã®ä¿¡é ¼æ§ã®ãã¬ã¼ã
ããã«ã¡ã¯ããã¹ãèªååã¢ã¼ããã¯ãã®åæ¬ã§ãã ã¿ãªãããE2Eèªåãã¹ãããã¦ãã¾ããï¼ ä»åã¯ãPlayWrightã«ã¤ãã¦ç´¹ä»ãã¾ãã PlayWrightã¯ã2020å¹´2æã«ãªãªã¼ã¹ã¨æ¯è¼çæ°ãããSelenium,Cypressãªã©ã¨æ¯è¼ããã¨èªç¥åº¦ã¯ã¾ã ã¾ã ã§ãã ããããå¾çºã®ãã¼ã«ã¨ãããã¨ããããè²ããªä¾¿å©æ©è½ãããã¾ãã ãããªPlayWrightã®é åã®ä¸é¨ãç´¹ä»ãããã¨æãã¾ãã PlayWrightã£ã¦ãªã«ï¼ Microsoftãä¸å¿ã«ãªã£ã¦éçºãã¦ãããã©ã¦ã¶ãæä½ããããã®ã©ã¤ãã©ãªã§ããç°¡åã«ããã¨E2Eãã¹ããã¼ã«ã§ãã ãµãã¼ããã¦ããè¨èªã¯ãNode.js(javascript,typescript), Python, Java, .NETã¨å¹ åºã対å¿ãã¦ãã¾ãã対象ãã©ã¦ã¶ã¯Chromium / Firefox / WebKit / Chrome
ããã«ã¡ã¯ãQA Engineerã®@testtattoã§ãã ä»åã¯E2Eãã¹ãã®èªååã«ããã£ã¦ãã©ããã£ãèãã§ãã¼ã«é¸å®ãè¡ã£ãã®ãã話ãããã¨æãã¾ãã 対象èªè 以ä¸ã«èå³ãé¢å¿ãæã¤æ¹ã対象èªè ã¨ãã¦æ³å®ãã¦ãã¾ãã E2Eãã¹ãèªååã«ãã£ã¦èª²é¡ã解決ãããããã©ããã£ãæè¡ãããã®ãåãããªãã¦å°ã£ã¦ãã人 E2Eãã¹ãã®èªååã¯å®ç¾ã§ãã¦ããããç¶ç¶ã«èª²é¡ãæ±ãã¦ãã人 ãã¹ãèªååãªãä½ã§ãèå³ããã人 ã¾ããã èªãã§ãããåã«ããã¤ãã®åæãå ±æãã¾ãã ãªãªã¼ã¹ãµã¤ã¯ã«ã«ã¤ã㦠å½ç¤¾ã®webãã©ãããã©ã¼ã ã®ãªãªã¼ã¹ãµã¤ã¯ã«ã¯ä¸é¨ã®ãã¤ã¯ããµã¼ãã¹ãé¤ãã¦åºæ¬çã«ã¯é±æ¬¡ã§ãã 決ã¾ã£ãææ¥ã§åãããã¯ãã®ãã«ãªã¯ã¨ã¹ããåãè¾¼ãã§ããªã°ã¬ãã·ã§ã³ãã¹ããå®æ½ãããªãªã¼ã¹ãããã«ã¼ããªããã°ãªãªã¼ã¹ãã¦ãã¾ãã æµãã¨ãã¦ã¯ãããªæãã§ãã æ ç« æ°´ æ¨ é ç¹
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}