Category Archives: RSpec

Why Selenium and Rspec?

Introduction A year ago, I was put to the task, with the help of Joe Ocampo (fellow los techie) to have automated UI tests that everyone in a Development/QA environment (all levels of experience) can help with.  We wanted to … Continue reading 

Also posted in .NET, Analysis and Design, Design Patterns, Principles and Patterns, Refactoring, Unit Testing | 6 Comments

I Want Assert.NotYetImplemented(); In .NET Test Frameworks

One of my coworkers recently tweeted this: I do that a lot with c# and nunit. It helps me to figure out where I need to go, what tests are going to be organized where, etc. I certainly don’t expect … Continue reading 

Also posted in .NET, Agile, AntiPatterns, C#, Community, Continuous Integration, Resharper, Ruby, Test Automation, Tools and Vendors, Unit Testing | 15 Comments

Current Status

UPDATE:  I’m very eager to see where IronRuby and RSpec go for the .NET world.  Testing my C# Applications with RSpec would be awesome.  Check out the MSDN magazine article about this stuff if you haven’t already. I’m working with … Continue reading 

Also posted in .NET, C#, Refactoring | 28 Comments

Creating an older rails project with multiple (newer) versions installed

I have been studying rspec the last week or two and have been using Rail 2.1.2 to do my exploring.  I was finally ready to jump into some legacy code and couldn’t even create a spec folder on the directory … Continue reading 

Also posted in Continuous Improvement, Pragmatism, Tools and Vendors | 7 Comments

Using Context as an example group in rSpec

If you try to do the following in rSpec you will receive a (nil:NilClass) error on the inner context in the ‘before’ statement when it tries to use @user. describe User do before(:each) do @user = User.new end context “(adding … Continue reading 

Also posted in Branch-Per-Feature, Branching Strategies, Productivity, Source Control, Test Automation | 4 Comments