skrape{it} Ktor Extension

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

License

License

GroupId

GroupId

it.skrape
ArtifactId

ArtifactId

skrapeit-ktor
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

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

Project URL

https://docs.skrape.it
Source Code Management

Source Code Management

https://github.com/skrapeit/skrapeit-ktor-extension/tree/master

Download skrapeit-ktor

How to add to project

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

Dependencies

provided (3)

Group / Artifact Type Version
it.skrape : skrapeit-core jar LATEST
io.ktor : ktor-server-test-host jar LATEST
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.30

test (2)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-engine jar 5.4.0
com.nhaarman.mockitokotlin2 : mockito-kotlin jar 2.1.0

Project Modules

There are no modules declared in this project.

Documentation maven central License JDK

master build status Codecov Known Vulnerabilities

Donate Awesome Kotlin Badge

skrape{it} Ktor Extension

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

Versions

Version
1.0.0