Skip to content

Instantly share code, notes, and snippets.

View joahking's full-sized avatar
🏠
Working from home

Joaquin Rivera Padron joahking

🏠
Working from home
View GitHub Profile
@joahking
joahking / gist:67396
Created February 20, 2009 09:44 — forked from christos/gist:39038
#
# cucumber.yml
#
# Filter which features are run with each profile by the file extension
webrat: --require features/steps/common --require features/support/webrat_env.rb --exclude selenium.feature --format progress
selenium: --require features/steps/common --require features/support/selenium_env.rb --exclude webrat.feature --format progress
#
# features/support/env.rb
testing culerity, everything goes really cool, except the memory consume: too many (?) java/ruby processes remain in memory leaving my debian lenny wasted
THIS ARE EXPERIMENTS IN PROGRESS, cant seem to repeat the results in a way to provide more accurate testing bed. This seems to happen in one of my projects that extends insoshi http://github.com/joahking/insoshi/tree/master and heavily uses javascript (at the time some broken ones) and Google GMap API
after several running of cucumber feature with some javascript errors I end up with java proccesses eating my CPUs
$ uname -a; java -version; jruby -v
Linux pinar 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux
java version "1.6.0_0"
# trying out the scenario outlines cucumber feature
$ gem list cucumber; gem list webrat
*** LOCAL GEMS ***
cucumber (0.1.16)
webrat (0.4.1)
# the feature we are trying features/manage_cukes.feature
Feature: Manage cukes
In order to use scenario outlines
# Rack RSpec HTML is a simple Rack application to:
## browse your spec and features directories
## run *_spec.rb and *.feature files living there.
# I only use it for rails, but should not be difficult to extend
# INSTALL: copy rack_rspec_html.rb into your #{RAILS_ROOT}/spec directory
# START: ruby -Ilib spec/rack_rspec_html.rb
# visit http://localhost:9292 to see your specs and features
let's make a list of sinatra-based apps!
apps:
- http://github.com/cschneid/irclogger "Sinatra based irclogger.com"
- http://github.com/rtomayko/wink "minimalist blogging engine"
- http://github.com/foca/integrity "The easy and fun Continuous Integration server"
- http://github.com/sr/git-wiki "git-powered wiki"
- http://github.com/entp/seinfeld "Seinfeld-inspired productivity calendar to track your public github commits."
- http://github.com/karmi/marley "Marley, the blog engine without <textareas>. See in action @ www.restafari.org"
- http://github.com/ichverstehe/gaze "Serve up your Markdown files with this tiny Sinatra app!"