Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

An Extension for MockMvc tests to enable meaningful testing of controllers that that produces HTML with the use of skrape{it}.

License

Notifications You must be signed in to change notification settings

skrapeit/skrapeit-mockmvc-extension

Repository files navigation

Documentation maven central License JDK

master build status Known Vulnerabilities Donate Awesome Kotlin Badge

An Extension for Spring MockMvc tests to enable meaningful testing of controllers that produces HTML.

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-mockmvc:+")

Gradle (Groovy DSL):

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

Maven:

<dependency>
  <groupId>it.skrape</groupId>
  <artifactId>skrapeit-core</artifactId>
  <version>LATEST</version>
  <scope>test</scope>
</dependency>
<dependency>
  <groupId>it.skrape</groupId>
  <artifactId>skrapeit-mockmvc</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 for MockMvc tests to enable meaningful testing of controllers that that produces HTML with the use of skrape{it}.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages