ããã°ã©ã ãæ¸ãã¦ä½ãããã®ã·ã¹ãã éçºããã«ã¯ãã¹ãã¯å¿
é ã ã¨æãã¾ãã ããã°ã©ãã³ã°ä¸ã«æ¸ãUnitTestã®ç°å¢ã¯ç¾ä»£ã®éçºã«ã¯æ¬ ãããªããã®ã§ãããã ä»åã¯sbtã«ããScalaTtestã¨Eclipse, IntelliJ IDEAã§ã®ãã¹ãã¹ã¿ã¤ã«ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ã¾ããã Scalaå
¥éè¨ã®ç®æ¬¡ã¯ãã¡ãã§ãã ãã¹ã対象 ãã¹ã対象ã«ãããããScalaå
¥éè¨002 åãã¦ã®Scalaããã°ã©ã ã§æ¸ããHelloãªãã¸ã§ã¯ãã«æ¨æ¶æãä½ãããã®ã¡ã½ãããä½ãã¾ããã 1ã¤ç®ã®å¼æ°ãåå¨ããå ´åã¯ãã®å¼æ°ã«å¿ãã¦ãHello ã»ãã»ã!ãã¨ããæ¨æ¶æãçæãã¾ãã å¼æ°ããªãå ´åã¯ãHello!ãã¨ããæ¨æ¶æãçæãã¾ãã object Hello { def main(args: Array[String]) { println(createGreeting(args))
{{#tags}}- {{label}}
{{/tags}}