Skip to content

Instantly share code, notes, and snippets.

Karl Krukow krukow

Block or report user

Report or block krukow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
krukow / build-log
Created Sep 30, 2018
uberjar issue
View build-log
➜ vsts-flow-metrics git:(feature/tools-deps) ✗ clj -A:uberjar -Srepro -Sverbose
version =
install_dir = /usr/local/Cellar/clojure/
config_dir = /Users/krukow/.clojure
config_paths = /usr/local/Cellar/clojure/ deps.edn
cache_dir = .cpcache
cp_file = .cpcache/1294198245.cp
Cleaning target
Creating target/classes
krukow / map.feature
Created Oct 10, 2012
Example Feature
View map.feature
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
View ios_only.rb
Given /^I am on the Home screen$/ do
View table_step_def.rb
Given /the following people exist:/ do |people_table|
people_table.hashes.each do |hash|
# The first time the +hash+ will contain:
# {'name' => 'Aslak', 'email' => '', 'phone' => '123'}
# The second time:
# {'name' => 'Joe', 'email' => '', 'phone' => '234'}
# etc.
View table.feature
Given the following people exist:
| name | email | phone |
| Aslak | | 123 |
| Joe | | 234 |
| Bryan | | 456 |
View hooks.rb
Before do |scenario|
After do |scenario|
puts "Oh no" if scenario.failed?
Before('@atag') do |scenario|
View gist:3737078
cucumber --tags @focus
cucumber --tags @focus,@email
cucumber --tags @focus,@email --tags @fast
cucumber --tags @focus,@email --tags @~slow
View gist:3737043
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
View user_trans.rb
Then /^the count must be (#{NUMBER})$/ do |result|
assert_equal @counter.count, result,
"Expected count #{result}, but the counter contained #{@counter.count}"
View transforms.rb
NUMBER = Transform /^\d+$/ do |num_str|
You can’t perform that action at this time.