Coder Social home page Coder Social logo

stu's Introduction

stu - Simple Test Utils

Build Status

The project contains simple test utils for JUnit and DBUnit. See documentation for more Details.

Use STU in your project

Use STU in a maven project

Repository needed in your project's pom.xml :

<repository>
  <id>sb-utils-bintray</id>
  <name>Seitenbau utils bintrayrepository</name>
  <url>http://dl.bintray.com/seitenbau/utils</url>
</repository>

Dependencies needed in your project's pom.xml :

<dependency>
  <groupId>com.seitenbau.stu</groupId>
  <artifactId>stu-common</artifactId>
  <version>0.2.0-RC4</version>
</dependency>
<dependency>
  <groupId>com.seitenbau.stu</groupId>
  <artifactId>stu-database</artifactId>
  <version>0.2.0-RC4</version>
</dependency>

Use STU in a gradle project

apply plugin: 'java'

repositories {
  mavenCentral()
  maven { url "http://dl.bintray.com/seitenbau/utils" }
}

dependencies {
  compile("com.seitenbau.stu:stu-common:0.2.0-RC4")
  compile("com.seitenbau.stu:stu-database:0.2.0-RC4")
}

Build STU

Either use provided gradlew or you need gradle (<2.0) 1.8 installed. STU currently only compiles with a JDK 1.7.

gradlew build

Build Documentation

To generate the documentation please invoke:

gradlew asciidoctor

The documentation is generated to stu/documentation/html/stu.html.

Eclipse

To import the project into eclipse invoke:

gradlew eclipse

Then the project can be imported as eclipse projects. Please be sure to use the code-conventions-sb-testing.xml file from src/eclipse folder.

IntelliJ

To import the project into IntelliJ IDEA invoke:

gradlew idea

Then the project can be open in IntelliJ.When you use IntelliJ version > 12, IntelliJ has build in gradle support then the project can direct be opened. When the workspace is ready the gradle task generateDataSetDsl should be invoked.

Documentation

The documentation can be found here. The asciidoc files are stored in the subproject stu-documentation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.