Pages
-
Recent Posts
- Announcing ‘responsalizr’ – test HTTP Response Codes in Ruby
- Bewildr + Cucumber Example
- Counting strings in a file: Ruby vs Windows Command shell
- IronRuby vs. Gherkin – a temporary fix
- Learning Ruby? Here’s the book for you…
- Announcing ‘bewildr’ – test your WPF UI apps with IronRuby
- How to get the submodules of a ruby module
Recent Comments
- DotNetDevDude on Bewildr + Cucumber Example
- Nat on Counting strings in a file: Ruby vs Windows Command shell
- Neil on Counting strings in a file: Ruby vs Windows Command shell
- Andrew Grimm on Stop Ruby’s Test::Unit suite files running all your tests
- Nat on How to connect to an Oracle database in IronRuby
Tags
Abbot agile agile testing Automated Testing bewildr Books cheat sheet cucumber database Data Conversion Testing Example Code Exceptions FireBug Firefox Firewatir fitnesse Fix Internet Explorer IronRuby ISEB Java mac os x Maximo Mistakes MS Access NetBeans QA Rational Functional Tester Regular Expressions RQuery RSpec Ruby Ruby on Rails Safari SQL sqlite Standards Test::Unit Test Case Management Test Data testing Tools WATIR white win32oleCategories
- agile
- Automated Testing
- bewildr
- Books
- cucumber
- Data Conversion Testing
- Example Code
- fitnesse
- General Testing Stuff
- IronRuby
- Links
- Making Life Easier
- Manual Testing
- Mistakes
- Rational Functional Tester
- responsalizr
- RQuery
- RSpec
- Ruby
- Ruby on Rails
- Test Data
- Test Driven Development
- Test Management
- Test Management
- Test::Unit
- Testing Theory
- Tools
- Uncategorized
- WATIR
- white
- win32ole
Meta
This work by Nathaniel Ritmeyer is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported.
Tag Archives: Regular Expressions
Updated script to list all cucumber step definitions
In a previous post I put up a small script that would dump out all step definitions available in a cucumber project. Here’s an updated version… it hasn’t changed much apart from the output is now a html table that … Continue reading
Posted in Automated Testing, Example Code, Making Life Easier, Ruby, Tools, cucumber
Tagged Automated Testing, cucumber, Example Code, Regular Expressions, Ruby, Tools
Leave a comment
Ruby regex code examples summary
Coming from java, ruby’s regex implementation seems a bit obtuse. Here’s a bunch of code examples which I’ve put together as a mini-reference for my own use. If I’ve missed anything major, leave a comment. And sorry about the code … Continue reading
How to know if you have a secure session in Watir
Sometimes you’re on a secure page, sometimes you’re not. How to know? There’s a very simple method you can write to find out, based on the browser’s current url. Here’s the method: def is_session_secure? @browser.url =~ /^https/ ? true : … Continue reading
Posted in Example Code, Ruby, Test::Unit, WATIR
Tagged Automated Testing, Example Code, Firewatir, Regular Expressions, Ruby, Test::Unit, WATIR
Leave a comment
How to add 2 ruby regex patterns together
Here’s a monkeypatch for ruby’s Regexp class that will allow you to concatenate 2 (or more) regex patterns together: class Regexp def +(r) Regexp.new(source + r.source) end end It comes in very useful when doing something like the following… protocol_rgx … Continue reading
Regular Expressions Pocket Reference
I’ve not had this book for long, but if you spend a lot of time with regular expressions (specifically with Rational Functional Tester’s object recognition properties) you’ll find it very useful. I know I have… O’Reilly, prepare for some free … Continue reading
Posted in Automated Testing, Books, Rational Functional Tester
Tagged Books, Regular Expressions
Leave a comment














