skrape{it} MockMvc Extension

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

License

License

GroupId

GroupId

it.skrape
ArtifactId

ArtifactId

skrapeit-mockmvc
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

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

Project URL

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

Source Code Management

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

Download skrapeit-mockmvc

How to add to project

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

Dependencies

provided (4)

Group / Artifact Type Version
it.skrape : skrapeit-core jar 0.4.3
org.springframework : spring-test jar 5.1.6.RELEASE
javax.servlet : javax.servlet-api jar 4.0.1
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 Known Vulnerabilities Donate Awesome Kotlin Badge

skrape{it} MockMvc Extension

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

Versions

Version
1.0.2
1.0.1
1.0.0