All Projects → voghDev → Chucknorrisjokes

voghDev / Chucknorrisjokes

Licence: apache-2.0
Sample project to render data from http://chucknorris.io/ - used in various workshops and talks

Programming Languages

kotlin
9241 projects

ChuckNorrisJokes

Sample project to render data from http://chucknorris.io/

Used to practice Test Driven Development in Kotlin.

Kotlin

  • Used in the following workshops / live codings:
    • "Effective TDD on Android with Kotlin" @ GDG DevFestGRX 2017 - Video, Slides
    • "Effective TDD on Android with Kotlin" @ MADGEvents. Madrid (Spain) - Video available soon, Slides
    • "Effective TDD on Android" @ Mobilization8. Lodz (Poland) - Video, Slides

Demo

Screenshot

2018

It's been a great year.

Android ecosystem has improved, Kotlin has improved, a lot of valuable resources (online courses, books) have been released, compilation times have been noticeably reduced, and an awesome set of tools have been developed to make our lives a bit happier.

One of these tools is arrow-kt, a functional companion to Kotlin standard library. So the codebase for this entire project has been refactored to arrow-kt, replacing the good-old homemade Disjunction using a Pair of values.

Also, KotlinTest brings some fresh air to the good old JUnit for naming Tests. Its nomenclature is probably the sweetest one ever made. Tests can be named with Strings that can be as long as we want, and can also be splitted in various lines. Any requirement can be specified in as much depth as one may need. mockito and mockito_kotlin make the mix even tastier.

All the codebase has been refactored to KotlinTest, improving readability as well as removing some non-elegant hacks like lateinit vars.

And best of all, without losing the green :-)

Just refactor, refactor, refactor...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].