Skip to content

Commit

Permalink
index.md: a bit more fine-tuning (#27) + AppVeyor badge (#18) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
edrdo committed Jun 27, 2017
1 parent 10c8d79 commit 024a7c8
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 6 deletions.
37 changes: 34 additions & 3 deletions src/site/markdown/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.jdbdt/jdbdt/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/org.jdbdt/jdbdt)
[![GitHub release](https://img.shields.io/github/release/edrdo/jdbdt.svg)](https://github.com/edrdo/jdbdt/releases)
[![Build status](https://api.travis-ci.org/edrdo/jdbdt.png?branch=master)](https://travis-ci.org/edrdo/jdbdt)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/647d281hp1b8py3p?svg=false)](https://ci.appveyor.com/project/edrdo/jdbdt)

JDBDT (Java DataBase Delta Testing) is an open-source Java library for
testing (SQL-based) database applications. The library is designed for automation
of database setup and validation in test code.
It has no third-party library dependencies (it just the Java 8 SE API internally),
JDBDT has no third-party library dependencies (it just the Java 8 SE API internally),
making it also easy and lightweight to integrate.
Compared to existing database testing frameworks, the main conceptual novelty
is the possibility of using [δ-assertions](DBAssertions.html#DeltaAssertions).

You may browse the reference documentation
available in this site, along with the [Javadoc](apidocs/index.html?org/jdbdt/JDBDT.html) for the JDBDT API and the [JDBDT tutorial](Tutorial.html).

In a nutshell, the main features are as follows:

* The core functionality is exposed by a simple [API facade](Facade.html).
Expand Down Expand Up @@ -100,9 +104,36 @@ or [data set comparison](DBAssertions.html#DataSetAssertions), e.g.,
assertUnchanged(theUserTable); // no delta
}

* Assertions and setup operations can be [logged onto (optionally compressed) XML files](Logs.html).


<jdbdt-log-message time="..." version="...">
...
<delta-assertion>
<expected>
<old-data count="0"/>
<new-data count="0"/>
</expected>
<errors>
<old-data>
<expected count="0"/>
<actual count="1">
<row>
<column java-type="java.lang.String" label="LOGIN">linus</column>
<column java-type="java.lang.String" label="NAME">Linus Torvalds</column>
<column java-type="java.lang.String" label="PASSWORD">linux</column>
<column java-type="java.sql.Date" label="CREATED">2015-01-01</column>
</row>
</actual>
</old-data>
<new-data>
<expected count="0"/>
<actual count="0"/>
</new-data>
</errors>
</delta-assertion>
</jdbdt-log-message>

For details, browse the reference documentation
available in this site, along with the [Javadoc](apidocs/index.html?org/jdbdt/JDBDT.html) for the JDBDT API and the [JDBDT tutorial](Tutorial.html).

## Contribute

Expand Down
37 changes: 34 additions & 3 deletions src/site/markdown/index.md.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.jdbdt/jdbdt/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/org.jdbdt/jdbdt)
[![GitHub release](https://img.shields.io/github/release/edrdo/jdbdt.svg)](https://github.com/edrdo/jdbdt/releases)
[![Build status](https://api.travis-ci.org/edrdo/jdbdt.png?branch=master)](https://travis-ci.org/edrdo/jdbdt)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/647d281hp1b8py3p?svg=false)](https://ci.appveyor.com/project/edrdo/jdbdt)

JDBDT (Java DataBase Delta Testing) is an open-source Java library for
testing (SQL-based) database applications. The library is designed for automation
of database setup and validation in test code.
It has no third-party library dependencies (it just the Java 8 SE API internally),
JDBDT has no third-party library dependencies (it just the Java 8 SE API internally),
making it also easy and lightweight to integrate.
Compared to existing database testing frameworks, the main conceptual novelty
is the possibility of using [&delta;-assertions](DBAssertions.html#DeltaAssertions).

You may browse the reference documentation
available in this site, along with the [Javadoc](apidocs/index.html?org/jdbdt/JDBDT.html) for the JDBDT API and the [JDBDT tutorial](Tutorial.html).

In a nutshell, the main features are as follows:

* The core functionality is exposed by a simple [API facade](Facade.html).
Expand Down Expand Up @@ -100,9 +104,36 @@ or [data set comparison](DBAssertions.html#DataSetAssertions), e.g.,
assertUnchanged(theUserTable); // no delta
}

* Assertions and setup operations can be [logged onto (optionally compressed) XML files](Logs.html).


<jdbdt-log-message time="..." version="...">
...
<delta-assertion>
<expected>
<old-data count="0"/>
<new-data count="0"/>
</expected>
<errors>
<old-data>
<expected count="0"/>
<actual count="1">
<row>
<column java-type="java.lang.String" label="LOGIN">linus</column>
<column java-type="java.lang.String" label="NAME">Linus Torvalds</column>
<column java-type="java.lang.String" label="PASSWORD">linux</column>
<column java-type="java.sql.Date" label="CREATED">2015-01-01</column>
</row>
</actual>
</old-data>
<new-data>
<expected count="0"/>
<actual count="0"/>
</new-data>
</errors>
</delta-assertion>
</jdbdt-log-message>

For details, browse the reference documentation
available in this site, along with the [Javadoc](apidocs/index.html?org/jdbdt/JDBDT.html) for the JDBDT API and the [JDBDT tutorial](Tutorial.html).

## Contribute

Expand Down

0 comments on commit 024a7c8

Please sign in to comment.