-
Recent Posts
Recent Comments
Archives
Categories
- activesupport.net
- alt.net
- automation
- bash
- bdd
- binsor
- blogging
- blueprint
- boo
- books
- build
- bundler
- c#
- c# patterns mvp
- cancan
- capistrano
- castle
- commerce server
- communication
- community
- compass
- cucumber
- deployment
- devise
- domain-driven design
- factory_girl
- firefox
- git branch-per-feature
- haml
- jquery
- mbunit
- microprenuer
- mongodb
- mongoid
- monorail
- mstest
- nant
- nbehave
- nhibernate
- nspec
- osx
- patterns
- personal
- podcasts
- presentations
- productivity
- projects
- rails
- refactoring
- resharper
- reviews
- richmond dnug
- rspec
- rstakeout
- ruby
- rvm
- sass
- screencast
- screencasts
- scriptaculous
- steak
- subtext
- tales from the smelly side
- tdd
- terminal
- testing
- tools
- Uncategorized
- usability
- virtual teams
- vlad the deployer
- web
- windsor
- wordpress
- working from home
Meta
Category Archives: rspec
Adding A ‘has_image?’ Matcher To Capybara
I’m rather shocked that Capybara doesn’t have a ‘has_image?’ matcher built in to it. But after search around google for a while, the only thing I found was a bunch of StackOverflow answers that all say to use ‘has_xpath?’ to … Continue reading
Mocks, Stubs and Unreadable Tests: Clearly I’m Doing This Wrong
I tweeted this a few minutes ago: This is in reference to a horrible test that I wrote today. It’s got 2 assertions and more than 20 lines of context to set up the mocks that I needed, to isolate … Continue reading
Verifying Generated HTML With HAML, Cucumber, Capybara and RSpec
Several of the reports that the app that Joey and I are working on will be generated via HAML to be displayed in the app, for the users. The generated content will end up being HTML, but starts it’s life … Continue reading
A Semi-Intelligent Watchr Script For Rails And RSpec
I’m using Watchr in my current Rails 3 project, instead of Autotest, to run my Cucumber and RSpec tests whenever I save a file. It makes life so much easier than having to manually run them. Yesterday, I decided to … Continue reading
Web Development Stack In OSX
It has been almost a month since I ventured out into contracting and took up OSX on a Macbook Pro as my primary operating system. In that time, I’ve been very fortunate to have Joey Beninghove guide me through the … Continue reading
Design And Testability
In the line of business applications that I build, it’s considered good practice to use a test-first approach; Test-Driven Development, Behavior-Driven Development, or whatever you want to call it. Write a test, verify that it fails for the right reasons, … Continue reading
Quick Fix (and a question): Mongoid Edge
I just went throught the process of upgrading my current app to the latest edge for Rails 3, Mongoid and all of my other gems. And when I went to run my specs, I received this error: Database command ‘drop’ … Continue reading
Also posted in mongodb, mongoid, ruby
3 Comments
The Ruby/Rails Life – My Rails 3 Stack – Part 2
Rails Deployment & Testing There are some really nice tools available for deployment and testing rails. Below is a brief description of some of the ones I’ve been using with success. Capistrano I remember in the early days of my … Continue reading
Also posted in bdd, capistrano, cucumber, deployment, factory_girl, rails, rstakeout, ruby, steak, testing
3 Comments
ZenTest+Autospec Is An RSpec TDDer’s Best Friend
In all the time that I’ve been using RSpec (almost a year now), I never knew about the zentest or autospec tools until I was recently watching a code kata that was using Ruby and RSpec. … so, now I … Continue reading
selenium-rspec-dsl available on RubyGems.org and GitHub
I have released my first version of selenium-rspec-dsl on RubyGems.org and on GitHub. It that makes selenium testing easier to create, maintainable, and scalable. Features: Runs on Ruby Selenium-Client 1.2.17, and Selenium-Grid 1.0.4 with Selenium RC 1.0.3 Rake Multi-Processing Tests … Continue reading
Also posted in c#, castle, monorail, patterns, refactoring, tdd
2 Comments
