Giter Club home page Giter Club logo

pvbemmelen62 / jdbcslim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from six42/jdbcslim

0.0 1.0 0.0 322 KB

JdbcSlim is the framework to easily integrate database queries and commands into Slim FitNesse testing. The design focuses to keep configuration data, test data and SQL code separate. This ensures that requirements are written independent of the implementation and understandable by business users.

License: Mozilla Public License 2.0

Java 39.52% HTML 60.48%

jdbcslim's Introduction

Table of Contents

JdbcSlim

JdbcSlim is the framework to easily integrate database queries and commands into Slim FitNesse testing. The design focuses to keep configuration data, test data and SQL code separate. This ensures that requirements are written independent of the implementation and understandable by business users.

The framework can be used by Developers, Testers and Business Users with SQL knowledge.

JdbcSlim supports all databases for which a jdbc driver exists.

It is agnostic of database system specifics and has no code special to any database system. Such things should be handled by the jdbc driver. Nevertheless the jdbc code is segregated from the slim code and adding any driver specific requirements can be done by simply changing a single class.

Documentation

Read the documentation online: https://six42.github.io/fitnesse-blog/PlugIns.JdbcSlim.UserGuide.html

Installation

Read Installation.wiki how to use a jdbcslim release in your fitnesse instance:

Build

You only need to build yourself if you want to contribute to JdbcSlim.

To build jdbcSlim yourself you can use Gradle, Maven or Ant.

Gradle is the preferred build tool and the build script actively maintained. Maven and Ant are only maintained by the community and might not be up to date.

Build.Gradle

To build and run all tests, run the command

$ ./gradlew test

NB. On windows call gradlew.bat instead of ./gradlew.

Build.Ant

To build jdbcSlim yourself with Ant clone this repository and add the following jar files in the folder plugins/jdbcslim:

File Link
fitnesse-standalone.jar fitnesse
dbfit-core-3.2.0.jar DbFit - extract jar from zip
commons-codec-1.10.jar DbFit - extract jar from zip
h2-1.4.195.jar H2 database
csvjdbc-1.0.34.jar CsvJdbc

Execute ant jar to build jdbcslim.jar in the folder plugins/jdbcslim. Execute ant run to start FitNesse (default: http://localhost:8080).

JdbcSlim testpages available on .Plugins.JdbcSlim.UserGuide (http://localhost:8080/Plugins.JdbcSlim.UserGuide) execute this suite.

Once all tests pass execute ant build to validate that the acceptance test pass from the command line.

Build.Maven

Note: Maven is not the strategic build tool and new versions are not tested against it.

Execute mvn clean package to copy dependencies and build jdbcslim.jar in the folder plugins/jdbcslim.

Execute mvn exec:exec to start FitNesse (default: http://localhost:8080).

JdbcSlim testpages available on .Plugins.JdbcSlim.UserGuide (http://localhost:8080/Plugins.JdbcSlim.UserGuide) execute this suite.

Verifying the acceptance test pass from them command line is done when you run mvn clean install.

jdbcslim's People

Contributors

dependabot[bot] avatar etiennecharignon avatar fhoeben avatar gun88 avatar jtenkate-ib avatar maartenjanvangool avatar pvbemmelen62 avatar six42 avatar unforgettable631 avatar

Watchers

 avatar

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.