Concordion Quick Guide

of 47
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Transcript Copyright © CONCORDION - QUICK GUIDE   Advertisements CONCORDION - OVERVIEW   What is Concordion? Concordion is a powerful tool to write and manage automated acceptance tests in Java based projects. It directly integrates with JUnit framework, making it ready to be used with all popular JAVA based IDEs like Netbeans,Eclipse, IntelliJ IDEA.  Active software specification  Active software specification is a way to specify the behaviour of a feature. It also provides a way to implementand verify the software specification by having a connection with the system under development. An active specification in Concordion is of two parts:1. A cleanly written requirement document which describes the desired functionality written using XHTML.The XHTML based specifications contain descriptions of the functionality provided with acceptance testexamples. Example's data is marked using simple HTML tags.2. Acceptance tests are written in Java language called fixture code. Using a Concordion extension of astandard JUnit test case, test are implemented. It is the responsiblity of Fixture Code to find the example'sdata marked by tag and use them to verify the software under development. Output of Cncordion  When Concordion active specification tests are run, outpu XHTML files shows the srcinal specification and testresults. Successful test are highlighted using green color and failed test are highlighted using red . As any change in system will result in failing the test, which helps to identify that specifiction are to be updated,Concordion terms these specifications as active specifications. Therefore specifications are always up-to-date. Key Features Following are the key features of Concordion: Specifications as documentation  - Concordion specification being highly readable can be used asactive system documentation. As Concordion based specifications are written in HTML, these documentscan be hyperlinked. Specifications are live  - Concordion specification contains working examples of behavior which areexecuted against the system. Specifications are color coded so that any one can see whether examples are working or not. Executing Concordion specifications regularly makes documentation up-to-date. Separate what? from how?  - Concordion specification helps in maintaining seperation betweenimplementation and required behaviour of system. It provides flexibility that implementation can bechanged later on. Simple to learn  - Concordion library is designed keeping learning curve short and concise. It has very few commands to learn and examples are automated using JUnit tests so that tests can be run easily and can be  integrated with existing projects easily. Powerful Customization  - Concordion provides extensions API which allows to add functionality. Forexample, Excel spreadsheets can be used as specifications, screenshots can be added to the output, logginginformation can be displayed, and much more. CONCORDION - ENVIRONMENT SETUP This tutorial will guide you on how to prepare a development environment to start your work with SpringFramework. This tutorial will also teach you how to setup JDK, Tomcat and Eclipse on your machine before yousetup Spring Framework: Step 1 - Setup Java Development Kit :  You can download the latest version of SDK from Oracle's Java site: Java SE Downloads. You will findinstructions for installing JDK in downloaded files, follow the given instructions to install and configure the setup.Finally set PATH and JAVA_HOME environment variables to refer to the directory that contains java and javac,typically java_install_dir/bin and java_install_dir respectively.If you are running Windows and installed the JDK in C:\jdk1.7.0_75, you would have to put the following line in your C:\autoexec.bat file. set  PATH=C:\jdk1.7.0_75\b in ;%PATH%  set  JAVA_HOME=C:\jdk1.7.0_75  Alternatively, on Windows NT/2000/XP, you could also right-click on My Computer, select Properties, then Advanced, then Environment Variables. Then, you would update the PATH value and press the OK button.On Unix , if the SDK is installed in /usr/local/jdk1.7.0_75 and you use the C shell, you wouldput the following into your .cshrc file. setenv PATH /usr/ local /jdk1.7.0_75/bin:$PATH setenv JAVA_HOME /usr/ local /jdk1.7.0_75  Alternatively, if you use an Integrated Development Environment like Borland JBuilder, Eclipse, IntelliJIDEA, or Sun ONE Studio, compile and run a simple program to confirm that the IDE knows where you installedJava, otherwise do proper setup as given document of the IDE. Step 2 - Setup Eclipse IDE  All the examples in this tutorial have been written using Eclipse IDE. So I would suggest you should have latest version of Eclipse installed on your machine.To install Eclipse IDE, download the latest Eclipse binaries from Once youdownloaded the installation, unpack the binary distribution into a convenient location. For example in C:\eclipseon windows, or /usr/local/eclipse on Linux/Unix and finally set PATH variable appropriately.Eclipse can be started by executing the following commands on windows machine, or you can simply double click on eclipse.exe  %C:\eclipse\eclipse.exe 󰁊󰁄󰁋     󰁓󰁯󰁬󰁡󰁲󰁩󰁳    󰀬   󰁌󰁩󰁮󰁵󰁸    󰀬   󰁥󰁴󰁣    󰀮   󰁉󰁄󰁅       Eclipse can be started by executing the following commands on Unix machine: $/usr/ local /eclipse/eclipse  After a successful startup, if everything is fine then it should display following result: Step 3: Download Junit archive Download latest version of JUnit jar file from At the time of writing this tutorial, Idownloaded  Junit-4.10.jar  and copied it into C:\>JUnit folder. OSArchive name  Windowsjunit4.10.jarLinuxjunit4.10.jarMacjunit4.10.jar Step 4: Set JUnit environment 󰁓󰁯󰁬󰁡󰁲󰁩󰁳    󰀬   󰁌󰁩󰁮󰁵󰁸    󰀬   󰁥󰁴󰁣    󰀮    Set the JUNIT_HOME  environment variable to point to the base directory location where JUNIT jar is storedon your machine. Assuming, we've stored junit4.10.jar in JUNIT folder on various Operating Systems as follows. OSOutput  WindowsSet the environment variable JUNIT_HOME to C:\JUNITLinuxexport JUNIT_HOME=/usr/local/JUNITMacexport JUNIT_HOME=/Library/JUNIT Step 5: Set CLASSPATH variable Set the CLASSPATH  environment variable to point to the JUNIT jar location. Assuming, we've stored junit4.10.jar in JUNIT folder on various Operating Systems as follows. OSOutput  WindowsSet the environment variable CLASSPATH to%CLASSPATH%;%JUNIT_HOME%\junit4.10.jar;.;Linuxexport CLASSPATH=JUNIT_HOME/junit4.10.jar:.Macexport CLASSPATH=JUNIT_HOME/junit4.10.jar:. Step 6 - Setup concordion Libraries Now if everything is fine, then you can proceed to setup your Concordion libraries. Following are the simple stepsto download and install the framework on your machine.Download the latest version of Concordion framework binaries from At the time of writing this tutorial, I downloaded concordion-1.5.1 on my Windows machine and when you unzipthe downloaded file it will give you following directory structure inside E:\concordion-1.5.1 as follows. lib  - Library folderhamcrest-core-1.3.jar junit-4.12.jarognl-2.6.9.jarxom-1.2.5.jar src  - Source code foldermain 󰁃󰁌󰁁󰁓󰁓󰁐󰁁󰁔󰁈      󰀺   󰁃󰁌󰁁󰁓󰁓󰁐󰁁󰁔󰁈      󰀺  


Sep 22, 2019
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!