title: Kotlin class file can not run in IntelliJ for JUnit
body: <p>I am an Android and iOS developer. I am new in Kotlin Programming language with IntelliJ. Java class run well with but kotlin class showing err on run time. First it was showing err related JUnit version. I googled and found solution that need to config unit test. </p>
  
  <p>I am using mac so I press Command + Shift + T to configure unit test.</p>
  
  <p>After that when I run the MySecondClass.kt it's showing err like this</p>
  
  <pre><code>Information:Kotlin: kotlinc-jvm 1.1.3-2 (JRE 1.8.0_111-b14)
  Information:7/10/17, 8:24 PM - Compilation completed with 2 errors and 0 warnings in 2s 85ms
  /Users/ehaque/IdeaProjects/My First Kotlin Project/src/MySecondClassTest.kt
  Error:(1, 12) Kotlin: Unresolved reference: junit
  Error:(7, 10) Kotlin: Unresolved reference: junit
  </code></pre>
  
  <p>My Project Structure is like this:</p>
  
  <p><a href="https://i.stack.imgur.com/2Pud6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2Pud6.png" alt="enter image description here"></a></p>
  
  <p>What should I do?</p>