Learn how to test your Kotlin exercises on Exercism
Choose your operating system:
Open a Command Prompt.
Get an exercise:
C:\Users\JohnDoe>exercism download --exercise=hello-world --track=kotlin
Not Submitted: 1 problem
Kotlin (Hello World) C:\Users\JohnDoe\exercism\kotlin\hello-world
New: 1 problem
Kotlin (Hello World) C:\Users\JohnDoe\exercism\kotlin\hello-world
unchanged: 0, updated: 0, new: 1
Change directory into the exercism:
C:\Users\JohnDoe>cd C:\Users\JohnDoe\exercism\kotlin\hello-world
Run the tests:
C:\Users\JohnDoe\exercism\kotlin\hello-world>gradlew.bat test
(Don't worry about the tests failing, at first, this is how you begin each exercise.)
Solve the exercise. Find and work through the TUTORIAL.md
guide (view on GitHub).
Good luck! Have fun!
If you get stuck, at any point, don't forget to reach out for help.
In the terminal window, get an exercise:
$ exercism download --exercise=hello-world --track=kotlin
New: 1 problem
Kotlin (Etl) /Users/johndoe/exercism/kotlin/hello-world
unchanged: 0, updated: 0, new: 1
Change directory into the exercise:
$ cd /Users/johndoe/exercism/kotlin/hello-world
Run the tests:
$ ./gradlew test
(Don't worry about the tests failing, at first, this is how you begin each exercise.)
Solve the exercise. Find and work through the TUTORIAL.md
guide (view on GitHub).
Good luck! Have fun!
If you get stuck, at any point, don't forget to reach out for help.
In the terminal window, get an exercise:
$ exercism download --exercise=hello-world --track=kotlin
New: 1 problem
Kotlin (Etl) /home/johndoe/exercism/kotlin/hello-world
unchanged: 0, updated: 0, new: 1
Change directory into the exercise:
$ cd /home/johndoe/exercism/kotlin/hello-world
Run the tests:
$ ./gradlew test
(Don't worry about the tests failing, at first, this is how you begin each exercise.)
Solve the exercise. Find and work through the TUTORIAL.md
guide (view on GitHub).
Good luck! Have fun!
If you get stuck, at any point, don't forget to reach out for help.