- Recent
- Popular
- Tags (0)
- Subscribers (2)
- Running Selenium 1.0-beta-1 with Firefox 3 under Mac OS XNovember 25
-
This morning, I set out to get selenium working on my Mac. It didn’t work right out of the box, so here is what I did to get it working
Selenium won’t work with firefox 3 without some configuration. It is actually hardcoded to firefox 2. So I’ve updated the configuration to work with firefox 3.0.x, and created a new jar to assist anyone who is going down this path. If you are working with ruby and have the Selenium gem installed, you can replace $GEMHOME/gems/Selenium-1.1.14/lib/selenium/openqa/selenium-server.jar.txt with this jar. After that, everything should run great for you.
Keep in mind that you’ll have to make some changes to the path if you are running a newer version of the Selenium gem. Let me know if you run into anything else.
- Cucumber and Test::UnitNovember 24
-
The new hotness coming out of the RSpec camp is Cucumber. In their own words, “Cucumber executes plain text documentation of code against that code.” In normal people speak, Cucumber provides an extremely easy way to write acceptance style tests for your applications.
To get started, I installed Cucumber per their directions. I’m using this with a Rails project, and the steps from the wiki put me on the right track. (I did already have RSpec installed, but we won’t be using that here) I’m using this with a Rails 2.2, project, so I’ve added the following to my environment.rb:
config.gem "cucumber", :version => "0.1.9"Next, I bootstrapped Cucumber, and started working on my features.
Seeing as how I don’t do much Rspec these days, I wanted to see if it would be possible to use Cucumber with Test::Unit. Fortunately for us, this is a very easy task, and I’ll share my notes with you.
1. Make sure the ‘require’ spec line is commented out in features/support/env.rb.
2. Modify the steps in features/step_definitions/webrat_steps.rb
Mostly, what you will do here is convert the matchers to thier Test::Unit equivalents. For instance, response.body.should_not =~ /#{text}/m is synonymous to assert_no_match(response.body, /#{
- CouchDB basic authenticationNovember 8
-
CouchDB comes with no authentication out the box, and in this video, I show you how to hook up authentication, so you can actually move your sweet CouchDB based application to production.
<object height="251" width="400"><param /><param /><param /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2189840&server=vimeo.com&show_title=1&show_byline=0&show_portrait=0&color=00ADEF&fullscreen=1" height="251" width="400"></embed></object>
CouchDB basic authentication from Bryan Liles on Vimeo.Update 11/11/2008—there may be an issue with design documents, i’m investigating it now
- TATFT Lives -- The MovieNovember 7
-
I’m a coder. I write code. I’m starting a new project, and I’m asking for everyone’s help.
If someone asked you what you thought about the state of testing in the Ruby community, what would you say? Are you for more testing, or are you testing enough? Are we doing it wrong, or are we on the right path? Or, is this a tired subject, that needs no more discussion.
I want to hear it all, and put it in a documentary I want to make next year.
So, now you’ve heard my spiel, and you want to know how you can help I bet. This is real easy. If you see me, pull me aside, and tell me what you have to say. I always will have my camera on me, or you can upload your video and send me a link, or we can do Skype. The point is that I want YOU to be heard.
So, what do you think? Share your ideas and your videos with me at tatft@smartic.us.
- Introducing Bryan Liles, a Ruby DeveloperNovember 1
-
I’m a Ruby developer who works and lives in Maryland. I also work with Ruby on Rails and stay abreast of other emerging technologies like Merb and CouchDB. I happen to live very close to Baltimore, which is a great location due to the vibrant tech community who is emerging there. In the past I have worked in DC, and Virginia.
Now, why I am I telling you this?
I’m all about the community. I love being involved in the developer and new media communities. The knowledge shared and the fascinating people I meet, is what I crave.
I want you to involve me in your community
Hi, I’m Bryan Liles. Nice to meet you!
