Chad Woolley's blog
Standup 06/28/2007
Interesting Things
- You can do single key presses in selenium with key-press. This is very useful in some scenarios - for example, predictive typing in search fields.
Standup 06/27/2007
Interesting Things
- Don't forget about the 'net' tab in the FireBug firefox extension. This can take the place of other separate plugins such as Live HTTP Headers.
Standup 06/26/2007
Interesting Things
RSpec global before/after: In addition to Behaviour-scoped before and after method forms, Rspec also has global
prepend_before, prepend_after, append_before, append_aftermethods.RSpec Custom Expectation Matchers: Remember that you can write your own Custom Expectation Matchers to make your specs as expressive as desired. For example:
foo.should contain_text.Self-Signed SSL Cert Gotcha: Firefox and IE hate it when your Certificate Authority and Server Certificate have the same Common Name.
RailMail: RailMail "gives you a persisted view of any mail your application has sent... With railmail there is no need to set up testing email accounts while developing your application; just send out mail to any address and Railmail will capture it." Nice...
validates_presence_of in ActiveRecord calls
blank?. This means you can use it check for dependent objects if you defineblank?.







