Pages
-
Recent Posts
- 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
- Netbeans ‘Cucumber Features’ plugin in Beta!
Recent Comments
- 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
- Mark Micallef 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
- 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.
Category Archives: Example Code
Announcing ‘bewildr’ – test your WPF UI apps with IronRuby
Get it here: http://www.bewildr.info After writing an automation framework to test a WPF GUI using IronRuby and White, I decided to write a ruby-specific gem for automating WPF UI tests. Kinda like Watir, but for WPF instead of the web. The … Continue reading
Posted in Automated Testing, Example Code, IronRuby, Tools, bewildr
Tagged Automated Testing, bewildr, Example Code, IronRuby, Ruby, Tools
3 Comments
How to get the submodules of a ruby module
I needed to be able to find out what modules were defined inside a particular ruby module. Kinda like wanting to find out what child namespaces exist for a module. It’s probably more easily explained with an example. Given the … Continue reading
Programmatically take screenshot in IronRuby
After figuring out how to take a screenshot using .Net, I translated the C# I came up with to IronRuby. Now, when any of my IronRuby-powered tests fail, I take a screenshot – saves loads of time when trying to … Continue reading
Posted in Example Code, IronRuby, Test Management
Tagged Example Code, IronRuby, Ruby, Test Case Management, Tools
2 Comments
How to connect to an Oracle database in IronRuby
After spending a few hours trying to connect to an oracle database in ironruby using various gems, I gave up. None of the gems out there would work, each for a different reason. It was time to write my own … Continue reading
Posted in Example Code, IronRuby, Making Life Easier, Ruby, Test Data, Tools
Tagged Example Code, IronRuby, Oracle, Test Data, Tools
2 Comments
Testing redirects with ruby
Testing redirects from a web app is simple enough – make a request and check the response code making sure it’s a 301, 302 or whatever you’re expecting. The test you end up writing isn’t nice idiomatic ruby though. So, … Continue reading
Posted in Automated Testing, Example Code, Making Life Easier, RSpec, Ruby, Tools
Tagged Automated Testing, Example Code, net::http, redirect, Ruby, Tools
Leave a comment
How to test a WPF app using IronRuby and White
—UPDATE— Since I wrote this post, I have put together a ruby gem designed for testing WPF UIs called ‘bewildr’. I wrote up an introductory post about bewildr here. Bewildr removes the need for using White – it’s written in … Continue reading
Posted in Automated Testing, Example Code, IronRuby, Making Life Easier, Ruby, Test::Unit, Tools, bewildr, white
Tagged Automated Testing, bewildr, Example Code, IronRuby, NetBeans, Ruby, Test::Unit, Tools, white
1 Comment
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














