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
➜ vsts-flow-metrics git:(feature/tools-deps) ✗ clj -A:uberjar -Srepro -Sverbose | |
version = 1.9.0.394 | |
install_dir = /usr/local/Cellar/clojure/1.9.0.394 | |
config_dir = /Users/krukow/.clojure | |
config_paths = /usr/local/Cellar/clojure/1.9.0.394/deps.edn deps.edn | |
cache_dir = .cpcache | |
cp_file = .cpcache/1294198245.cp | |
Cleaning target | |
Creating target/classes |
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: Map | |
As a festival attendee I should be able to get a map of the | |
Festival site. It should include points of interest (POIs), and | |
my current location. | |
Scenario: My location | |
Given I am on the Map | |
When I tap the My Location button | |
Then the map should move to my location |
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
if ENV['CALABASH_IOS']=="1" | |
Given /^I am on the Home screen$/ do | |
query(...) | |
end | |
end |
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
Given /the following people exist:/ do |people_table| | |
people_table.hashes.each do |hash| | |
# The first time the +hash+ will contain: | |
# {'name' => 'Aslak', 'email' => 'aslak@email.com', 'phone' => '123'} | |
# The second time: | |
# {'name' => 'Joe', 'email' => 'joe@email.com', 'phone' => '234'} | |
# etc. | |
end | |
end |
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
Given the following people exist: | |
| name | email | phone | | |
| Aslak | aslak@email.com | 123 | | |
| Joe | joe@email.com | 234 | | |
| Bryan | bryan@email.org | 456 | |
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
Before do |scenario| | |
end | |
After do |scenario| | |
puts "Oh no" if scenario.failed? | |
end | |
Before('@atag') do |scenario| |
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
cucumber --tags @focus | |
cucumber --tags @focus,@email | |
cucumber --tags @focus,@email --tags @fast | |
cucumber --tags @focus,@email --tags @~slow |
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
cucumber --format html --out a.html --format 'Slowhandcuke::Formatter' | |
Feature: Addition | |
Scenario: Basic Addition # features/addition.feature:3 | |
Given a new counter # features/step_definitions/common.rb:1 | |
When I add 3 # features/step_definitions/addition_steps.rb:2 | |
Then the count should be 3 # features/step_definitions/common.rb:7 | |
Scenario: Basic Addition2 # features/addition.feature:10 | |
Given a new counter # features/step_definitions/common.rb:1 |
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
Then /^the count must be (#{NUMBER})$/ do |result| | |
assert_equal @counter.count, result, | |
"Expected count #{result}, but the counter contained #{@counter.count}" | |
end |
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
NUMBER = Transform /^\d+$/ do |num_str| | |
num_str.to_i | |
end |
NewerOlder