Some learning and feature testing with the Kotlin language. Nothing serious.
Since Google I/O 2017, Kotlin is officially supported by Google for Android Development
In this repository, we will work on the following aspects of Kotlin
- Implement some simple exercises to learn language basics
- Implement some basic instrumentation Tests with Kotlin
- Use a package-by-feature structure instead of package-by-layer
- Create a basic architecture using MVP or MVVM
- Pass some advanced Unit tests mocking instances and testing asynchronous calls
- Add mockito-kotlin to clean Mockito boilerplate in tests
- Apply Ktlint to a Kotlin project and see how it works
- Add a branch that includes tests with kotlintest to see how it improves readability
- Add a branch that includes tests with Spek to see how it improves readability
- Add some example usage of Kotlin Coroutines to understand how they work
- Use Coroutines in tests with kotlinx.coroutines and Anko async/doAsync blocks
- Use mockK for mocking as an alternative to JUnit + Mockito