skrapeit / skrapeit-ktor-extension

An Extension to test Ktor endpoints that produces HTML in a meaningful way by the use of skrape{it}.

Home Page:https://docs.skrape.it/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation maven central License JDK

master build status Codecov Known Vulnerabilities

Donate Awesome Kotlin Badge

An Extension to test Ktor endpoints that produces HTML in a meaningful way.

skrape{it} is a Kotlin-based HTML testing and web scraping library that can be used seamlessly in Spring-Boot, Android or other JVM projects. It places particular emphasis on ease of use, a high level of readability, attention to performance through the use of non-blocking operations and is not bound to a specific test runner.

Example

example-usage

Setup

Gradle (Kotlin DSL):

testCompile("it.skrape:skrapeit-core:+")
testCompile("it.skrape:skrapeit-ktor:+")

Gradle (Groovy DSL):

testCompile "it.skrape:skrapeit-core:+"
testCompile "it.skrape:skrapeit-ktor:+"

Maven:

<dependency>
  <groupId>it.skrape</groupId>
  <artifactId>skrapeit-core</artifactId>
  <version>LATEST</version>
  <scope>test</scope>
</dependency>
<dependency>
  <groupId>it.skrape</groupId>
  <artifactId>skrapeit-ktor</artifactId>
  <version>LATEST</version>
  <scope>test</scope>
</dependency>

Read the Docs

You'll always find documentation of the latest release at https://docs.skrape.it

About

An Extension to test Ktor endpoints that produces HTML in a meaningful way by the use of skrape{it}.

https://docs.skrape.it/

License:MIT License


Languages

Language:Kotlin 100.0%