Skip to content

Latest commit

 

History

History

kotlin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Automation Arsenal - Kotlin Libraries



Kotlin Libraries

Assertions

  • Kluent - Fluent Assertion-Library for Kotlin.
  • Assertk - Yet another Kotlin assertions inspired by AssertJ.
  • Hamkrest - Hamcrest remake for Kotlin.

Build

  • Kotlin DSL - Kotlin language support for Gradle build scripts.

Code Quality

  • Detekt - Static code analysis for Kotlin.
  • KtLint - Linter for Kotlin projects.
  • Gradle Code Quality Tools Plugin - Gradle plugin generating ErrorProne, Findbugs, Checkstyle, PMD, CPD, Lint, Detekt & Ktlint Tasks for every subproject.

Configuration and Properties

CLI

  • Clikt - Library for easy creation of CLI based applications.

Database

  • Exposed - Lightweight SQL framework from JetBrains, uses JDBC driver under the hood, supports most popular database engines (Oracle, MySql, Postgre etc).

Dependency Injection

  • Koin - LightWeight Dependency Injection framework. Still not sure if it makes sense to use DI in test automation unless you are into unit testing, but this library sure worth mentioning.

ElasticSearch

Framework

JSON

  • Kotshi - An annotations processor that generates Moshi adapters from immutable Kotlin data classes.

HowTo

  • GOF in Kotlin - Most popular design pattern examples in Kotlin.

HTML

HTTP

  • Fuel - Advertised as the easiest HTTP networking library for Kotlin/Android.

Language extensions

  • Arrow - Functional companion to Kotlin's Standard Library.

Mocking

  • Mockk - Mocking library for unit tests.
  • Mockito Kotlin - Mockito adaptation for Kotlin.
  • Spark Kotlin - A Spark DSL in Kotlin, allows easy and fast web servers creation.

Mobile

  • Kakao - Nice and simple DSL for Espresso in Kotlin. Allows writing Espresso tests that does not look ugly and much easier to maintain.
  • Marathon - Cross-platform test runner written for Android and iOS projects.

Logging

  • OkLog - Yet another OkHttp traffic logging interceptor. Intercepts requests and generates link to view response details in browser. Looks awesome if you don't mind leaving IDE.
  • Kotlin Logging - Small Kotlin logging library. Using slf4j under the hood.
  • Log4j2 Kotlin API - Kotlin logging facade based on Log4j2. Power of Log4j2 adapted for Kotlin projects.

Reactive

  • RxTest - Kotlin DSL for easier RxJava testing.

Scripting

  • KScript - Enchanted Kotlin scripting support on *nix-based systems.

Source Code Utilities

  • Kotlin Poet - library with fluent interface for generating .kt files.

Test Data

  • FakeIt - Kotlin Fake Data Generator Library.

WebDriver

  • Kirk - Selenium wrapper written in Kotlin. Nice idea, but project is no longer maintained.

WebSockets

  • Scarlet - A Retrofit inspired WebSocket client by Tinder for Kotlin, Java, and Android.

 


Find this list helpful? Show some support:

GitHub followers GitHub forks GitHub stars Twitter Follow

 

Interested in contributing?

Contributions are welcome! Read contribution guidelines.

License

CC-BY-SA-4.0