This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario Outline: Score calculation tables | |
Given a new bowling game | |
When I roll the following series: <rolls> | |
Then my total score should be <total score> | |
Examples: | |
| game | rolls | total score | | |
| beginners game | 2,7,3,4,1,1,5,1,1,1,1,1,1,1,1,1,1,1,5,1 | 40 | | |
| one single spare | 2,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 | 29 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: | |
In order to let them know how much I appreciate them and their support | |
As a business owner | |
I want to show heartfelt gratitude to my friends and business partners | |
Scenario: In everything give thanks - 1 Thessalonions 5:18 | |
Given a person who has made a rich contribution to my life and business | |
When Thanksgiving draws near | |
Then I want to recognize their awesomeness | |
And send them a card as a token of my appreciation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The problem is that I want 'Background and Context' to be chapter 1, but the numbering is messed up. The content | |
for chapter 1 is coming in from 01_BackgroundAndContext.asc[]. I've tried several things to fix the numbering, | |
but cannot figure out the correct combination/settings to do it. Maybe I just need to turn off numbering | |
completely, and name each of the chapters explictly? This is what I had originally, but then I saw that I | |
was able to get chapter numbers automatically with Asciidoctor & asciidoctor-fopdf. | |
Here is the relevant part of the AsciiDoc book document: | |
= BDD with Cucumber | |
Richard Lawrence and Paul Rayner rslawrence@agileforall.com, paul@virtualgenius.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>java -version | |
java version "1.6.0_51" | |
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509) | |
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode) | |
Here's the stack trace. I can provide the original xml file if that would be helpful. | |
>./fopdf BDDwithCucumber.xml | |
Initializing application... | |
Downloading http://services.gradle.org/distributions/gradle-1.7-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# AsciiWatcher by Paul Rayner, 2013 <http://thepaulrayner.com> | |
# Adapted from watch.rb by Brett Terpstra, 2011 <http://brettterpstra.com> | |
# with credit to Carlo Zottmann <https://github.com/carlo/haml-sass-file-watcher> | |
require 'asciidoctor' | |
trap("SIGINT") { exit } | |
if ARGV.length < 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
co = checkout | |
br = branch | |
ci = commit | |
cia = commit -a | |
st = status | |
unstage = reset HEAD -- | |
last = log -1 HEAD | |
d = diff --color | |
cb = checkout -b |