Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,16 @@ Many of the ideas have been borrowed from Matt Wynne's Relish product, but we;
* Include a project progress bar (based on tags)

## Installation
### Wally (gcerquant's fork)
* Download the forked code from https://github.com/gcerquant/wally
* In the downloaded folder run the command:
`rake build && gem install pkg/wally-0.0.47.gem`

### Mongo
* Install [mongodb](http://www.mongodb.org/display/DOCS/Quickstart "mongodb") and ensure it is running (e.g. '~ $ ./mongodb-xxxxx-xxxx-x.x.x/bin/mongod')
* ```gem install wally```
* you might also want mongo_mapper (```gem install mongo_mapper```)


## Usage
* create a '.wally' file and enter any authentication text you like (```echo myPassword > .wally```)
* run wally server, in the same dir that you put the .wally file (```wally server```)
Expand Down
9 changes: 9 additions & 0 deletions lib/wally/views/feature.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
:markdown
#{@feature.gherkin["description"]}
- if @feature.gherkin["description"]
%h2 Comments:
%p
- if @feature.gherkin["comments"]
- @feature.gherkin["comments"].each do |comment|
%p
%i
= comment["value"][1..-1]
- else
%i No comments.
%h2 Scenarios
%ul
- get_sorted_scenarios(@feature).each do |scenario|
Expand Down
11 changes: 11 additions & 0 deletions lib/wally/views/scenario.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@
%span.step-keyword
&= step["keyword"]
= step["name"]
%h3 Comments:
%p
- if @scenario["comments"]
- @scenario["comments"].each do |comment|
%p
%span.step-keyword
%i
= comment["value"][1..-1]
- else
%span.step-keyword
%i No comments.
- if @scenario["steps"]
%h3 Steps:
- @scenario["steps"].each do |step|
Expand Down