This file contains hidden or 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
package features.foo; | |
import java.util.List; | |
import junit.framework.Assert; | |
import cucumber.annotation.en.Given; | |
import cucumber.runtime.xstream.annotations.XStreamConverter; | |
import cucumber.runtime.xstream.converters.basic.AbstractSingleValueConverter; | |
public class FooStepDefs { |
This file contains hidden or 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
package features.foo.holder; | |
import java.lang.reflect.Constructor; | |
import java.util.List; | |
import junit.framework.Assert; | |
import cucumber.annotation.en.Given; | |
import cucumber.runtime.xstream.annotations.XStreamConverter; | |
import cucumber.runtime.xstream.converters.basic.AbstractSingleValueConverter; | |
import cucumber.runtime.xstream.converters.extended.ToStringConverter; |
This file contains hidden or 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
package features.foo.alternative; | |
import cucumber.runtime.xstream.converters.ConverterMatcher; | |
public interface ConverterRegistry { | |
Class<? extends ConverterMatcher> getConverter(Class<?> type); | |
} |
This file contains hidden or 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
package features.foo.alternative; | |
import org.apache.commons.collections.Bag; | |
import cucumber.annotation.en.Given; | |
import cucumber.runtime.xstream.converters.basic.AbstractSingleValueConverter; | |
import features.foo.alternative.DefaultConvertersAlternative2.Baz; | |
import features.foo.alternative.DefaultConvertersAlternative2.Foo; | |
import features.foo.alternative.DefaultConvertersAlternative2.FooConverter; | |
import features.foo.subclass.FooStepDefsWithExternalFooAndSubclassing.ExternalFooSubclass; |
This file contains hidden or 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
Preparation | |
=========== | |
# preparation - start with clean environment | |
vagrant destroy chef_server -f | |
vagrant destroy c12345_svn -f | |
librarian-chef clean | |
vagrant up chef_server | |
vagrant up c12345_svn |
This file contains hidden or 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
# clone and set up remote tracking branch | |
cd somewhere | |
git clone git://github.com/tknerr/cookbooks-motd.git target/dir | |
cd target/dir | |
git checkout -t origin/bills-kitchen-1.0_branch |
This file contains hidden or 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
# | |
# Based on https://gist.github.com/778535 | |
# In turn based on http://www.natontesting.com/2010/01/11/updated-script-to-list-all-cucumber-step-definitions/ | |
# | |
desc 'List all defined cucumber steps in features/steps/**/*.rb' | |
task :steps do | |
step_definition_dir = "features/steps" | |
step_files = Dir.glob(File.join(step_definition_dir,'**/*.rb')) | |
print_steps(step_files) |
This file contains hidden or 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
Mccloud::Config.run do |config| | |
NAME = "tkn" | |
# identity | |
config.mccloud.prefix="mccloud" | |
config.mccloud.environment="development" | |
config.mccloud.identity=NAME | |
# define cloud provider |
This file contains hidden or 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
==2012/7/27==9:38:44==BEGIN RUNTIME DIAGNOSTIC DUMP | |
Note: this file stored in VisualWorks #source (UTF-8) encoding | |
Cause of Dump: Unhandled exception: Library not found | |
Image Identification: 'Image created December 7, 2009 10:07:01 pm' | |
Smalltalk Version: 'VisualWorks® NonCommercial, 7.6 of March 3, 2008' | |
Object Memory versionId: #[70 40 71 192 76 0 0 0 63 53 63 192] | |
Class creating this dump: RuntimeFullDumper | |
Command Line: bin/linux86/vwlinux86gui -noherald /home/zuehlke/Desktop/tools/codecity-image/codecity.im |
This file contains hidden or 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
class Item | |
def initialize(name, *deps) | |
@name = name | |
@deps = deps || [] | |
end | |
def name | |
@name | |
end |
OlderNewer