Skip to content

Commit 7a97ee7

Browse files
toddbtoddb
authored andcommitted
Add installation instructions for concordion
1 parent b45538d commit 7a97ee7

File tree

2 files changed

+102
-4
lines changed

2 files changed

+102
-4
lines changed

README.md

Lines changed: 99 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
This proof of concept demonstrates using cucumber to do searches.
1+
This proof of concept demonstrates using cucumber and concordion to do searches.
2+
3+
Cucumber
4+
========
25

36
Also, you may want to look at [this tutorial](http://watir.com/2011/01/22/simple-cucumber-watir-page-object-pattern-framework/)
47
and [this blog series](http://www.cheezyworld.com/2010/12/16/ui-tests-putting-it-all-together/)
58

69
Installation
7-
============
10+
------------
811

912
This code is written in ruby and tested on 1.8.7
1013

@@ -37,7 +40,7 @@ You will also require the installation of the following GEMS via the commands:
3740
watir-webdriver (0.5.3)
3841

3942
Test using Rake
40-
===============
43+
---------------
4144

4245
Ensure that you have rake installed and then to see the tests available, from the root directory run rake with the option to show tasks
4346

@@ -47,7 +50,7 @@ Test using Rake
4750
rake prod # Run Cucumber features
4851

4952
Sample run
50-
===========
53+
----------
5154

5255
$ rake
5356

@@ -83,4 +86,96 @@ Sample run
8386
6 steps (1 pending, 5 passed)
8487
0m8.368s
8588

89+
Concordion
90+
==========
91+
92+
Installation
93+
------------
94+
95+
This code was written using Eclipse, java and gradle
96+
97+
1. Ensure Eclipse is installed
98+
2. Download [gradle](http://gradle.org/) and add to bin folder to your path (eg export PATH=/usr/local/gradle/bin:$PATH in ~/.profile)
99+
100+
3. Test gradle installation
101+
102+
$ gradle tasks
103+
The reportsDir property has been deprecated and will be removed in the next version of Gradle. Please use the reporting.baseDir property instead.
104+
:tasks
105+
106+
------------------------------------------------------------
107+
All tasks runnable from root project
108+
------------------------------------------------------------
109+
110+
Build tasks
111+
-----------
112+
assemble - Assembles all Jar, War, Zip, and Tar archives.
113+
build - Assembles and tests this project.
114+
buildDependents - Assembles and tests this project and all projects that depend on it.
115+
buildNeeded - Assembles and tests this project and all projects it depends on.
116+
classes - Assembles the main classes.
117+
clean - Deletes the build directory.
118+
jar - Assembles a jar archive containing the main classes.
119+
testClasses - Assembles the test classes.
120+
121+
Documentation tasks
122+
-------------------
123+
groovydoc - Generates Groovydoc API documentation for the main source code.
124+
javadoc - Generates Javadoc API documentation for the main source code.
125+
126+
Help tasks
127+
----------
128+
dependencies - Displays the dependencies of root project 'concordion'.
129+
help - Displays a help message
130+
projects - Displays the sub-projects of root project 'concordion'.
131+
properties - Displays the properties of root project 'concordion'.
132+
tasks - Displays the tasks runnable from root project 'concordion' (some of the displayed tasks may belong to subprojects).
133+
134+
IDE tasks
135+
---------
136+
cleanEclipse - Cleans all Eclipse files.
137+
eclipse - Generates all Eclipse files.
138+
139+
Verification tasks
140+
------------------
141+
check - Runs all checks.
142+
test - Runs the unit tests.
143+
144+
Rules
145+
-----
146+
Pattern: build<ConfigurationName>: Assembles the artifacts of a configuration.
147+
Pattern: upload<ConfigurationName>: Assembles and uploads the artifacts belonging to a configuration.
148+
Pattern: clean<TaskName>: Cleans the output files of a task.
149+
150+
To see all tasks and more detail, run with --all.
151+
152+
BUILD SUCCESSFUL
153+
154+
Total time: 5.658 secs
155+
156+
157+
4. From the root of the project, prepare for loading in Eclipse.
158+
159+
$ cd concordion/
160+
concordion$ gradle eclipse
161+
$ gradle eclipse
162+
The reportsDir property has been deprecated and will be removed in the next version of Gradle. Please use the reporting.baseDir property instead.
163+
:eclipseClasspath
164+
:eclipseJdt
165+
:eclipseProject
166+
:eclipse
167+
168+
BUILD SUCCESSFUL
169+
170+
Total time: 9.625 secs
171+
172+
5. Load into Eclipse workspace:
173+
174+
Import > Existing Projects into Workspace > Select root directory > Finish
175+
176+
Sample run
177+
----------
178+
179+
Run tests from Eclipse
86180

181+
Run as JUnit Tests

concordion/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
.settings
22
.gradle
33
.settings
4+
.classpath
5+
.project
6+
build
47
bin

0 commit comments

Comments
 (0)