Concordion Introduction -
Concordion is a automation acceptance test framework, written in java originally developed by David Peterson. It is distributed under Apache License.
You can use with all popular java based IDEs like Eclipse, InteliJ Idea, Netbeans.
If you want to learn concordion you should have understanding of java programming language and html.
Following are the key feature of Concordion -
- Specification as Documentation - Concordion specification can be used as system documentation because concordion specification are written in HTML.
- Live Specification - Concordion specification contain value which are executed against particular system behavior, executing concordion regularly meks system documentation up to date.
- Easy Learning - Concordion library is easy to learn there are only few commands to learn and example are automated using Junit test so that test can be executed easily.
- Separate Implementation - Concordion specification helps us to divide the implementation and required behavior, provide flexibility to change the implementation later on.
Concordion Environment Setup -
Here you will learn how to setup environment to make use of concordion.
Step 1 - Setup JDK ( Java Development Kit)
You can download latest version of JDK from oracle site Download , you will find JDK download instruction in downloaded file follow the given steps to install JDK. For more details related to setting up the path and environment variable click here
Step 2 - Setup IDE
You can use InteliJ IDEA or Eclipse as IDE below are the download link for both IDE.
Eclipse - http://www.eclipse.org/downloads/
InteliJ IDEA - https://www.jetbrains.com/idea/download/#section=windows
For installation of InteliJ IDEA follow this tutorial
After downloading the Eclipse IDE, unpack the binary distribution into a convenient location. For example in C:\JavaTechWorld\eclipse on Windows, or /usr/local/JavaTechWorld/eclipse on Linux/Unix and finally set the PATH variable appropriately.
Eclipse can be started by double click on eclipse.ext file on Windows environment
You can start Eclipse IDE by executing the following commands on a Unix (Solaris, Linux, etc.) machine −
Step 3 - Download Junit
You can download laterst version of JUnit jar file from below given path.
Step 4 - Set JUnit Environment
Set the JUNIT_HOME environment variable to point to the base directory location where JUnit jar is stored on your machine.
|Windows||Set the environment variable JUNIT_HOME to C:\JUNIT|
Step 5 - Set CLASSPATH
Set the CLASSPATH environment variable to point to the JUnit jar location. Let's assume we've stored junit4.10.jar in the JavaTechWorld/JUnit folder, then you need to take any of the following actions based on the OS you are working on −
|Windows||Set the environment variable CLASSPATH to %CLASSPATH%;%JUNIT_HOME%\junit4.10.jar;.;|
Step 6 - Setup Concordion Library
Following are the simple steps to download and install the framework on your machine.
First download latest version of concordion framework from http://concordion.org/download/java/markdown/
I have downloaded concordion-2.1.1.zip file while writing this concordion tutorial unzip the file you will get below given directory structure.
Once you find the concordion libraries inside concordion-2.1.1\lib folder, you have to setup CLASSPATH Variable on this directory.
Once you done with this last step you are ready to proceed with your first concordion example.