xtract-testing

Specs2 matchers for xtract.

License

License

GroupId

GroupId

com.lucidchart
ArtifactId

ArtifactId

xtract-testing_2.13
Last Version

Last Version

2.3.0-alpha3
Release Date

Release Date

Type

Type

jar
Description

Description

xtract-testing
Specs2 matchers for xtract.
Project URL

Project URL

https://github.com/lucidsoftware/xtract
Project Organization

Project Organization

com.lucidchart
Source Code Management

Source Code Management

https://github.com/lucidsoftware/xtract

Download xtract-testing_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/com.lucidchart/xtract-testing_2.13/ -->
<dependency>
    <groupId>com.lucidchart</groupId>
    <artifactId>xtract-testing_2.13</artifactId>
    <version>2.3.0-alpha3</version>
</dependency>
// https://jarcasting.com/artifacts/com.lucidchart/xtract-testing_2.13/
implementation 'com.lucidchart:xtract-testing_2.13:2.3.0-alpha3'
// https://jarcasting.com/artifacts/com.lucidchart/xtract-testing_2.13/
implementation ("com.lucidchart:xtract-testing_2.13:2.3.0-alpha3")
'com.lucidchart:xtract-testing_2.13:jar:2.3.0-alpha3'
<dependency org="com.lucidchart" name="xtract-testing_2.13" rev="2.3.0-alpha3">
  <artifact name="xtract-testing_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.lucidchart', module='xtract-testing_2.13', version='2.3.0-alpha3')
)
libraryDependencies += "com.lucidchart" % "xtract-testing_2.13" % "2.3.0-alpha3"
[com.lucidchart/xtract-testing_2.13 "2.3.0-alpha3"]

Dependencies

compile (4)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.4
com.lucidchart : xtract_2.13 jar 2.3.0-alpha3
org.specs2 : specs2-core_2.13 jar 4.10.0
org.specs2 : specs2-mock_2.13 jar 4.10.0

Project Modules

There are no modules declared in this project.

xtract

Build Status

Xtract is a scala library for deserializing XML. It is heavily inspired by the combinators in the Play JSON library, in particular the Reads[T] class.

See the introductory blog post.

Usage

To use Xtract in your sbt project add the following dependency:

"com.lucidchart" %% "xtract" % "2.2.1"

There is also an xtract-testing artifact which provides helpful matchers and other functions for use with specs2. To use in your test you can add the following sbt dependency:

"com.lucidchart" %% "xtract-testing" % "2.2.1" % "test"

Documentation

The scaladoc API for the core functionality is available at http://lucidsoftware.github.io/xtract/core/api/com/lucidchart/open/xtract/index.html.

Scaladocs for the specs2 extensions is available at http://lucidsoftware.github.io/xtract/testing/api/com/lucidchart/open/xtract/index.html.

Example

An example project using xtract can be found at http://github.com/lucidsoftware/xtract-example.

com.lucidchart

Lucid Software, Inc

Versions

Version
2.3.0-alpha3
2.3.0-alpha2
2.3.0-alpha1
2.2.1
v2.2.0