You can follow these instructions to install the preview version of the Kotlin Plugin for IntelliJ IDEA or Android Studio.
Read moreHow do I set up Kotlin?
To add Kotlin to your project, do the following:
Read moreHow do I add IntelliJ Kotlin compiler?
Go to Intellij Preferences -> Build, Execution, Deployment -> Kotlin Compiler . Update Language version and Api version to the one you wish. This should be the accepted answer.
Read moreHow do I run Kotlin program on Windows?
Install Kotlin and use the command line
Read moreHow do I run a Kotlin program from the command line?
Install, compile and run Kotlin from command line
Read moreHow do I run a single test case in IntelliJ?
Run Single Test Case with Maven Follow Without Maven, you can right-click on a test class/method in IntelliJ and select “Run…” (or “Debug…” for that matter) and it automatically compiles and runs just what you’ve selected.
Read moreHow do you write test cases in Kotlin?
You write your local unit test class as a JUnit 4 test class. To do so, create a class that contains one or more test methods, usually in module-name/src/test/ . A test method begins with the @Test annotation and contains the code to exercise and verify a single aspect of the component that you want to test.
Read more