You may also use Navigate -> Test Subject for reversed navigation. Open the source file with the task and use the action Navigate -> Test to open the test file. You may navigate to the corresponding test automatically when you read the task. Make sure you don’t cheat! How the tasks are organizedĮach task lives in its own function: from task0 to task41.įor each task, there is an associated unit test that checks your solution. The repository has two branches, master which contains the exercises for you to do and resolutions which contains the resolved exercises. gradlew test -tests ii_*22* # run test number 22 in part 2 gradlew test -tests ii_* # run tests in part 2 gradlew test -tests i_* # run tests in part 1 You can also build the project and run all tests in the terminal: If you want to solve koans in Android Studio, check the course in Android Studio with EduTools plugin installed. Note that this project isn't intended to be used in Android Studio. How to run Gradle task from the Gradle toolbar in IntelliJ IDEA. To build the project and run the tests use test task on the Gradle tool window.How to build and run tests Working with the project using Intellij IDEA: Kotlin Koans Workshop is a series of exercises to get you familiar with the Kotlin Syntax.Įach exercise is created as a failing unit test and your job is to make it pass. For the last version of Koans, check the course in the EduTools plugin or online version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |