E2Eãã¬ã¼ã ã¯ã¼ã¯ã触ã£ã¦ãç¹å¾´ãç´¹ä»ãã
ããã«ã¡ã¯ããã£ã¨ããéã«ç¤¾å åå¼·ä¼ã®é çªããã£ã¦ãããã§ãã«ãã¦ããã³ã·ã´ã¨ã§ããæ°ãã¤ãããäºå¹´è¿ãä¼ç¤¾ããã°ãæ¸ãã¦ãã¾ããã§ããâ¦ã æè¿ãããããéãè °ãä¸ã㦠Docker 㨠CircleCI 2.0 ã使ãå§ããã®ã§ãE2E ãã¹ãã§ã®æ´»ç¨ã試ã¿ã¦ãã話ããããã¨æãã¾ãã ã¯ããã« çªç¶ã§ãããå¼ç¤¾ãããã¯ã dfplus.io ã§ã¯ãTestCafe ã使ç¨ã㦠E2E ãã¹ããèªååãã¦ãã¾ãã dfplus.io ã¯ãç°ãªããªãã¸ããªã§ç®¡çãã¦ããããã³ãã¨ã³ã(JS)ã¨ããã¯ã¨ã³ã(Ruby)ããæ§æãããE2E ãã¹ãã¯ããã³ãã¨ã³ãã®ãªãã¸ããªã§ç®¡çãã¦ãã¾ããE2E ãã¹ãã¯ãªãã¸ããªã¸ã® push ãããªã¬ã¼ã« CircleCI ã§å®è¡ãããã®ã¨ãã®ããã¯ã¨ã³ã㯠E2E ç¨ã«ç¨æããå ±ç¨ç°å¢(Heroku ç°å¢)ãå©ç¨ãã¦ãã¾ãã E2E ãã¹ãããã°ã
AngularJSã¯ãã¹ããéè¦ãã¦ãããã¬ã¼ã ã¯ã¼ã¯ã ã¨è¨ããã¦ãã¾ãã ããã¯ãDIãæ¨æºæè¼ããã¦ããã®ã§ãµã¼ãã¼ã¨ã®éä¿¡ãªã©ã®ãã¹ããã«ããé¨åãç°¡åã«ã¢ãã¯ã«å·®ãæ¿ãããã¨ãåºæ¥ãããã¦ããããã¹ããEnd to Endï¼E2Eï¼ãã¹ãã®ããã®ãã¬ã¼ã ã¯ã¼ã¯ãæã£ã¦ãããããããã§ãããã ããã¦ãç¾å¨æ¨æºã§å«ã¾ãã¦ããE2Eãã¹ãã®ããã®æ©è½ã¯ãä»å¾Protractorã¨ããSelenium WebDriverJSãã¼ã¹ã®ãã¬ã¼ã ã¯ã¼ã¯ã«ç§»è¡ããã¨çºè¡¨ããã¦ãã¾ããï¼AngularJS 1.2 & Beyondï¼ ããã¾ã§ã®E2Eãã¹ããã¬ã¼ã ã¯ã¼ã¯ãæ¨ã¦ã¦æ°ãããã®ã«ä¹ãæ¿ããã®ã«ã¯çç±ãããã¾ãã ããã¯ãSeleniumããã¼ã¹ã«ãããã¨ã§æ¬¡ã®ãããªæ©æµãåããããããã§ãã ãã©ã¦ã¶ãæä½ããããã®APIãå å® è¤æ°ãã©ã¦ã¶ã§ã®å®è¡ãå¯è½ ãªã¢ã¼ããã¼ã¸ã®ãã¹ããå¯è½
Protractor for AngularJS Writing end-to-end tests has never been so fun @ramonvictor Table of contents Why is testing so important? Testing is about gaining confidence that your code does what you think it should do @juliemr Whats the idea behind E2E testing? How would the users see my application? Is my backend communicating with my frontend? Can I release this code? It does NOT replace Unit Test
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}