kotlenide

Kotlin + Selenide is: ❤️ Kotlenide!

Лицензия

Лицензия

Категории

Категории

IDE Инструменты разработки Dagger Библиотеки уровня приложения Dependency Injection
Группа

Группа

com.github.daggerok
Идентификатор

Идентификатор

kotlenide
Последняя версия

Последняя версия

0.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

kotlenide
Kotlin + Selenide is: ❤️ Kotlenide!
Ссылка на сайт

Ссылка на сайт

https://github.com/daggerok/kotlenide
Система контроля версий

Система контроля версий

https://github.com/daggerok/kotlenide/tree/master

Скачать kotlenide

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.daggerok/kotlenide/ -->
<dependency>
    <groupId>com.github.daggerok</groupId>
    <artifactId>kotlenide</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.daggerok/kotlenide/
implementation 'com.github.daggerok:kotlenide:0.0.2'
// https://jarcasting.com/artifacts/com.github.daggerok/kotlenide/
implementation ("com.github.daggerok:kotlenide:0.0.2")
'com.github.daggerok:kotlenide:jar:0.0.2'
<dependency org="com.github.daggerok" name="kotlenide" rev="0.0.2">
  <artifact name="kotlenide" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.daggerok', module='kotlenide', version='0.0.2')
)
libraryDependencies += "com.github.daggerok" % "kotlenide" % "0.0.2"
[com.github.daggerok/kotlenide "0.0.2"]

Зависимости

runtime (1)

Идентификатор библиотеки Тип Версия
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.2.70

test (6)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-api jar 1.7.25
org.jetbrains.kotlin : kotlin-test jar 1.2.70
org.jetbrains.kotlin : kotlin-test-junit jar 1.2.70
com.willowtreeapps.assertk : assertk-jvm jar 0.12
org.junit.jupiter : junit-jupiter-api jar 5.3.1
com.codeborne : selenide jar 4.14.1

Модули Проекта

Данный проект не имеет модулей.

kotlin + selenide = kotlenide ❤️ Build Status download Maven Central

logo

Status: in development:

  • Latest release: 0.0.2

  • Current version: 0.0.3

  • Feedback, suggestions any help or contributions are welcome!

Usage (TODO)

idiomatic kotlin DSL for UI ent-to-end testing, which is using famous good known selenide under the hood:
class `Awesome Kotlenide Tests` {
  @Test fun `selenide using idiomatic kotlin should be awesome`() {
    "https://google.com".open {
      find("body") {
        this contains "G"
        this has "mail"
        close()
      }
    }
  }

  @Test fun `should open given URL in chrome and assert using infix extension functions`() {
    "https://google.com".open("chrome") {
      find("body") {
        this.find(".ololo") shouldNotBe exist
        find(".trololo") shouldBeNot visible
        this shouldHaveText "Gmail"
        close()
      }
    }
  }
}

Read project reference documentation to learn more

Installation

TODO: kotlenide is available in both — maven central and bintray jcenter repositories

Note
Kotlenide itself is not included any selenide library, so we assume you already have one in your project dependencies. Otherwise — just add some together with kotlenide…​
Maven
dependencies {
  testImplementation 'com.github.daggerok:kotlenide:0.0.2'
  // Kotlenide also requires Selenide dependency:
  testImplementation 'com.codeborne:selenide:4.14.1'
}
Maven
<project>
  <dependencies>
    <dependency>
      <groupId>com.github.daggerok</groupId>
      <artifactId>kotlenide</artifactId>
      <version>0.0.2</version>
      <scope>test</scope>
    </dependency>
    <!-- Kotlenide also requires Selenide dependency: -->
    <dependency>
      <groupId>com.codeborne</groupId>
      <artifactId>selenide</artifactId>
      <version>4.14.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>

License

MIT

Версии библиотеки

Версия
0.0.2
0.0.1