Skip to content

Latest commit

 

History

History
90 lines (63 loc) · 5.64 KB

kotlin-test-automation.md

File metadata and controls

90 lines (63 loc) · 5.64 KB

Kotlin test automation

A comprehensive curated list of Kotlin test automation frameworks, tools, libraries and software to help software engineers easily bootstrap test automation on Kotlin. Sponsored by http://sdclabs.com

Have questions\issues\problems, join the chat at https://gitter.im/atinfo/awesome-test-automation

Table of content:

Also:


Web UI test automation

  • libraries
    • Selenium - Portable software testing framework for web applications.
  • frameworks and wrappers
    • Balin - Balin is a browser automation library for Kotlin. It's basically a Selenium-WebDriver wrapper library inspired by Geb.
    • Kebish - Keb Kebish - Tool for writing Web UI tests - Selenium based Page Object Pattern implementation in Kotlin. Allows you to modularize pages of your web application into logical units represented by Kotlin classes.
    • SeleniumBuilder - Kotlin DSL for Selenium 2.0. Provide a possibility to write tests in Kotlin type-safe builders style

TDD \ ATTD \ BDD

  • Kukumber - Getting started with Cucumber in Kotlin.
  • Spek - Specification testing framework for Kotlin.
  • Kotest - Kotest(previously known as kotlintest) is a powerful, elegant and flexible test framework for Kotlin.

Build Tools

  • Kobalt - Kotlin-based build system for the JVM.
  • Gradle - Gradle is an open source build automation system. Gradle can automate the building, testing, publishing, deployment and more of software packages or other types of projects such as generated static websites, generated documentation or indeed anything else.
    • gradle-kotlin-dsl - Gradle’s Kotlin DSL provides an alternative way to write Gradle build scripts in Kotlin.

API test automation

  • hikaku - A library that tests if the implementation of a REST-API meets its specification.
  • Fuel - The easiest HTTP networking library for Kotlin/Android.

Editors, IDE, consoles

  • IntelliJ IDEA - A free and open-source IDE for Kotlin, Java, Groovy, Scala and Android development.

Useful libs

  • Hamkrest - Kotlin implementation of popular Java library.
  • MockK - Pure mocking library for Kotlin.
  • mockito-kotlin - Mockito extension for Kotlin.
  • Kakao Nice and simple DSL for Espresso in Kotlin.
  • Strikt is an assertion library for Kotlin intended for use with a test runner such as JUnit or Spek.
  • kotlin-faker - Generates realistically looking fake data such as names, addresses, banking details, and many more, that can be used for testing and data anonymization purposes.

Resources

Websites

Other Awesome Test Automation Lists

Also we are supporting and looking for contribution for project:

Your contributions are always welcome!