ãã®ã¨ã³ããªã¯ Java Advent Calendar -ja 2010 : ATND ã® 5æ¥ç®ã®ãã®ã§ãã ãããã¿ãªããStruts使ã£ã¦ã¾ããï¼æè¿ããã¤ã¾ã§Struts1ã使ãç¶ããã®ï¼ - é人ããã°ã©ãã¼ãç®æãã¦ãã¨ããStrutsã®çµç: ããã°ã©ãã®æç´¢ãã¨ãã§ãä½ãã¨è©±é¡ã®Struts1ã§ãããããããã®äºæ ã§ä½¿ããªããã°ãããªããã¨ã£ã¦å¤ãã§ãããï¼ãï¼ ã§ãä»æ¹ãªã使ããããå¾ãªãStrutsã§ãããActionã®executeã¡ã½ããããã®ã¾ã¾ã ã¨JUnitãªããã§UnitTest(ã§ããªã|ã§ãã¦ã大å¤)ã§å°ãã¾ãã ãããªæã¯ãMockã使ã£ã¦ãã¹ããã¾ãããï¼ä»åã¯Mockitoã使ãã¾ãã ãããªActionããã£ãã¨ãã¦ã package com.example.masaru.action; import javax.servlet.http.Htt
{{#tags}}- {{label}}
{{/tags}}