Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.
/ recheck-xml Public archive

recheck implementation for XML.

License

Notifications You must be signed in to change notification settings

retest/recheck-xml

Repository files navigation

recheck logo for XML

Build Status Latest recheck-xml on Maven Central license PRs welcome code with hearth by retest

recheck for XML. Replace manual asserts and check everything at once.

Features

  • Easy creation and maintenance of checks for XML.
  • Semantic comparison of contents.
  • Easily ignore formatting, volatile elements, attributes or sections.
  • One-click maintenance to update tests with intended changes.
  • No unexpected changes go unnoticed.

Advantages

Instead of manually defining individual aspects that you want to check, check everything at once. So instead of writing lots of assert-statements (and still not have complete checks), write a single re.check. This saves a lot of effort when creating the tests. And makes sure to not miss unexpected changes.

And even better: using the retest GUI (or the soon to come open source CLI), you can easily accept those changes with a single click (patent pending). This also saves a lot of time during maintenance. Any regular changing aspects or elements can easily be ignored.

Setup

Download recheck-xml here on GitHub or add it as dependency through Maven Central:

  • group ID: de.retest
  • artifact ID: recheck-xml
  • version: Latest recheck-xml on Maven Central

Prerequisites

Currently available as a Java API with support for JUnit 4.

Add any logging facility you want, that is compatible with SLF4j.

Building

To build this project locally, you have to skip JAR signing.

For normal builds use:

mvn deploy -Dgpg.skip=true

For making releases use:

mvn release:prepare -Darguments="-Dgpg.skip=true"

License

This project is licensed under the AGPL license.