2017-01-01ãã1å¹´éã®è¨äºä¸è¦§
JUnit5ã®RepeatedTestã§éãã§ã¿ã
JUnit5ã9/10ã«ãªãªã¼ã¹ããã¾ããããªãªã¼ã¹ããã¡ãã£ã¨æéãçµã£ã¦ãã¾ãã¾ããããJUnit5ã«ã¤ãã¦æ¸ãããã¨æãã¾ãã What' new JUnit5? 大ããªéãã¨è¨ãã°ã3ã¤ã®ç°ãªããµãããã¸ã§ã¯ãããæ§æããã¦ãããã¨ã§ãã以åã®ãã¼ã¸ã§ã³ã¾ã§ã¯ã1ããâ¦
11/18ï¼åï¼ã«éå¬ãããJJUG CCC 2017 Fallã§1å¹´ã¶ãã«ç»å£ãã¦ãã¾ããã ã¿ã¤ãã«ã¯ããã¦ããããã¹ãã®ã¢ãµã¼ã·ã§ã³ æµãããããªã¤ã³ã¿ã¼ãã§ã¼ã¹ã®AssertJãæ·»ãã¦ å ¥éè ä»ç«ã¦ãã§ãããï¼ãã¬ã³ãã®ã¡ãã¥ã¼ããªãã¼ã¸ã¥ãã¾ããï¼ 50人ãããã®é¨â¦
ã¿ãªããã¦ããããã¹ãæ¸ãã¦ã¾ããï¼ã¢ãµã¼ã·ã§ã³ã©ã¤ãã©ãªã¯ä½ã使ã£ã¦ã¾ããï¼ç§ã¯ãAssert Jã好ãã§ä½¿ã£ã¦ã¾ããAssertJã¯ãJavaã®ã¢ãµã¼ã·ã§ã³ã©ã¤ãã©ãªã§ã主ã«AssertJ Coreã¨AssertJ Swingã¨AssertJ DBãããã¾ãã ä»åã¯ãAssertJ Coreã«ã¤ãã¦â¦
å æ¥ãä»äºã§Thymeleafã§åã®ä½ã§åºåã£ã¦è¡¨ç¤ºãããã¨ãããã¾ãããããããéé¡è¡¨ç¤ºã§ãã çµè«ããè¿°ã¹ãã¨ã以ä¸ã®ããã«ããã¨ãå®ç¾ã§ãã¾ãã ã¡ãªã¿ã«ããã¯ãã¾ãã¾çºè¦ã§ãã¡ããã¾ãããããç¬ æåã¯ã次ã®ããã«æ¸ãã¦ã¾ããã <p th:text="${#numbers.formatInteger(1234567890, 3, 'COMMA')} + 'å'">1,234,567,890å</p>â¦
以åãIntelli Jã®ã·ã§ã¼ãã«ããã以ä¸ã®è¨äºã§ã¾ã¨ããã®ã§ãããå ¬å¼ã§çºè¡¨ããã¦ãã®ããæ¥æ¬èªè¨³ãããä¼ç¤¾ãããããã£ãããã¾ããã uchi-fashion.hatenablog.comãã£ã¡ã®æ¹ãç§ã®æãæ¥æ¬èªè¨³ããåèã«ãªãã¨æãã®ã§ãã²ï¼ IntelliJ ã PhpStorm â¦
ï¼åã«ããã£ã¦Intelli Jã®ã·ã§ã¼ãã«ãããã¾ã¨ããã®ã§ãããã¿ã¦ãèªåãããã©ããããªã£ãã®ã§ï¼ã¤ã«ã¾ã¨ãã¾ããã Keymapã¯ãMac OS Xã§ããç°ãªãæ¹ã¯ã¡ããã¨ãã¼ãå¤ãã£ã¦ããã¨æãã¾ãï¼ Editing ã·ã§ã¼ãã«ããã㼠説æ ^ Space ãã¼ã·ãã¯ãªâ¦
転è·ãã¦ãJSPã使ã£ã¦ããä¼ç¤¾ã«å ¥ãã¾ãããä»ã©ãJSPã¯ãªãã ãï¼ã£ã¦ãããã¨ã§Thymeleafã¨å ±åããããã¨ã«ãã¾ããã ããã¸ã§ã¯ãæ§æã¯ããããªæãã§ãã JavaCofigã§Beanå®ç¾©ãè¡ãããã¸ã§ã¯ãæ§æ xmlã§Beanå®ç¾©ãè¡ãããã¸ã§ã¯ãæ§æ ã§ã¯ããâ¦
ï¼åç®ã¯ããããã°ã¨ä¸è¬çãªã·ã§ã¼ãã«ããã§ããã¡ãªã¿ã«Keymapã¯ãMac OS Xã§ãã ä»åãæçµåã§ãï¼æ°ãåãããWindowsãæ¸ããããªï¼ï¼ãã¶ãæ°ãåããªãï¼ Debugging ã·ã§ã¼ãã«ããã㼠説æ F8 ãã¬ã¼ã¯ãã¤ã³ãããä¸è¡é²ãã F7 å¼ã³å ã®ã¡ã½â¦
ï¼åç®ã¯ãæ¤ç´¢ã¨ç½®æã¨VCS/Local Historyã¨ãªãã¡ã¯ã¿ãªã³ã°ã§ããã¡ãªã¿ã«Keymapã¯ãMac OS Xã§ãã Search / Replace ã·ã§ã¼ãã«ããã㼠説æ Shift * 2 ã©ãã§ãæ¤ç´¢ Command F ãã¡ã¤ã«å æ¤ç´¢ Command R ç½®æ ^ Shift F å ¨ãã¡ã¤ã«ããæååæ¤ç´¢ VCS/â¦
ï¼åç®ã¯ãUsage Searchã¨Navigationã§ããã¡ãªã¿ã«Keymapã¯ãMac OS Xã§ãã Usage Search ã·ã§ã¼ãã«ããã㼠説æ Option F7 ããã¸ã§ã¯ãå ã§ã«ã¼ã½ã«ãå½ãã£ã¦ããã¯ã©ã¹ï¼ã¡ã½ããï¼ã使ããã¦ããç®æã表示 Command F7 ãã¡ã¤ã«å ã§ã«ã¼ã½ã«ãå½ãâ¦
ä½åãã«åãã¦IntelliJã®KEYMAPã«ã¤ãã¦ç´¹ä»ãããã¨æãã¾ãï¼ ï¼åç®ã¯ãEditingã§ããã¡ãªã¿ã«Keymapã¯ãMac OS Xã§ããç°ãªãæ¹ã¯ã¡ããã¨å¤ãã£ã¦ããã¨æãã¾ãï¼ ã·ã§ã¼ãã«ããã㼠説æ ^ Space ãã¼ã·ãã¯ãªã³ã¼ãè£å®ï¼ããã¤ãã¯ã©ã¹ãã¡ã½ããâ¦
転è·å ã®PCã®IntelliJãããèªåã®ã«ã¹ã¿ãã¤ãºã«ãã¾ãããããæ¯åæ¢ãã¦ããªãã£ã¦æã£ã¦ã¦ããæ¸ãã¦èªåã®è¨å®ã¾ã¨ãã¾ãã ã©ãªããã®ãå©ãã«ãªããã°ã¨æãã¾ãã Keymap Keymapsã¯ãMac OS Xã«ããã Editor General Ensure line feed at file end â¦
ããã«ã½ã¼ãã¯æãåç´ãªæ´åæ³ã§ãã ããã«ã½ã¼ãã®ã¢ã«ã´ãªãºã é åã®æ«å°¾ããå é ã«åãã£ã¦é£ãåãè¦ç´ ãæ¯è¼ãã å¾ãã®è¦ç´ ãåã®è¦ç´ ãããå°ãããã°äº¤æãã 1ã¨2ãç¹°ãè¿ã 以ä¸ããããã«ã½ã¼ãã®Javaããã°ã©ã ã§ãã import java.util.Arraâ¦
Spring Actuatorã§ç»é²ããã¦ãBeanãã¿ããã¨æã£ã¦ãpom.xmlã«Spring Actuatorã追å ãã¾ãããï¼ä»¥ä¸åç §ï¼ Versionã¯ãèªç±ã«ã©ããï¼ <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> <version>1.5.1.RELEASE</version> </dependency>ããã¦ãhttp://localhost:8080/beansãã«â¦
Vagrantãã¡ãã£ã¨ã¿ã¾ãããã¤ã³ã¹ãã¼ã«æé ã¾ã¨ãã¾ãããVagrantï¼ã£ã¦ãªã£ã人ã¯ãããããå§ããã¾ãã Vagrantå°å ¥æé ããæ¬ããã°ã«è¨è¼ãã¾ãï¼ qiita.com 1.Vagrantãã¤ã³ã¹ãã¼ã« ãããåèã«ãã¾ããã qiita.com brew cask install virtualboâ¦
Javaã¨ã³ã¸ãã¢é¤æèªæ¬ãèªãã§æ°ã«ãªã£ãã¨ãããã¾ã¨ãã¦ãããã¨æãã¾ããä»åã¯ç¬¬ï¼ç« ã æååãæ±ã æååãæ¯è¼ããã¨ãã«æ°ãã¤ããã㨠ã==ãã¯ä½¿ç¨ã§ããªã Stringã¯ã©ã¹ã¯newæ¼ç®åã§ã¤ã³ã¹ã¿ã³ã¹ãçæãããã¨ãç¨ãªãããã¤ã³ã¹ã¿ã³ã¹ã®èâ¦
ï¼ã¶æã¶ãã«æ´æ°ãã¾ããä»å¹´ã¯ãã£ã¨ã¤ã³ããããå¢ããã¦ã¢ã¦ãããããå¢ããã¦ãããã¨æãã¾ãï¼ã¾ããã¹ã対象ã¯ã©ã¹ã¯ãã¡ãã®ShopService.java @Service public class ShopService { @Autowired private ShopRepository shopRepository; public Shoâ¦