Pages
-
Recent Posts
- Announcing ‘bewildr’ – test your WPF UI apps with IronRuby
- How to get the submodules of a ruby module
- Netbeans ‘Cucumber Features’ plugin in Beta!
- Programmatically take screenshot in IronRuby
- ThoughtWorks Anthology: Agile vs Waterfall Testing
- Testing a website on different versions of IE
- How to show all cookies for a page
Recent Comments
Tags
Abbot agile agile testing Automated Testing 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 netgear nv+ 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: Ruby
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
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
Leave a comment
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
Remove junk from IronRuby cucumber output
When running cucumber tests under IronRuby, your output will be full of junk like the following: Feature: example feature Scenario: a scenario←[90m # features\testoutput.feature:3←[0m ←[32mGiven some test setup←[90m # features/step_definitions/output_steps.rb:1←[0m←[0m ←[32mWhen I do something←[90m # features/step_definitions/output_steps.rb:5←[0m←[0m ←[32mThen something happens←[90m # … Continue reading
Posted in Automated Testing, IronRuby, Ruby, Tools, cucumber
Tagged Automated Testing, cucumber, IronRuby, Ruby, Tools
Leave a comment
TURN: test::unit reporting as it should have been…
TURN (“Test::Unit Reporter (New)”) aims to fix test::unit‘s default output. Instead of waiting until the end of a test run for failure details, Turn displays failures immediately. It looks promising… Bookmark to:
Posted in Automated Testing, Making Life Easier, Ruby, Test::Unit, Tools
Tagged Automated Testing, Ruby, Test::Unit, Tools
Leave a comment
RQuery: A thin layer of JQuery over watir/selenium
So I went to a presentation today, run by Aidy Lewis and Josh Chisholm about Josh’s new RQuery project; here’s a braindump of what I remember. RQuery is not supposed to be a competitor to Selenium or Watir but builds … Continue reading
Posted in RQuery, Ruby, Tools, Uncategorized
Tagged Automated Testing, RQuery, Ruby, Tools
2 Comments
How to test a WPF app using IronRuby and White
…and you thought ruby was only good for web testing… So… having previously failed at getting ruby-based automated testing of WPF working, I attacked it from a different angle and succeeded! The difference is that this time I used IronRuby … Continue reading
Posted in Automated Testing, Example Code, IronRuby, Making Life Easier, Ruby, Test::Unit, Tools, white
Tagged Automated Testing, Example Code, IronRuby, NetBeans, Ruby, Test::Unit, Tools, white
1 Comment














