# \[ANN\] Gutkumber - integration testing for Ruby-GNOME2 applications

**URL:** <https://www.ruby-forum.com/t/ann-gutkumber-integration-testing-for-ruby-gnome2-applications/167618>\
**Category:** Ruby-Gnome 2\
**Created:** [May 10, 2009, 10:37am UTC](https://www.ruby-forum.com/t/ann-gutkumber-integration-testing-for-ruby-gnome2-applications/167618 "2009-05-10T10:37:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![liberte](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9e8a1a/32.png) [@liberte](https://www.ruby-forum.com/u/liberte)\
**Post date:** [May 10, 2009, 10:37am UTC](https://www.ruby-forum.com/t/ann-gutkumber-integration-testing-for-ruby-gnome2-applications/167618/1 "2009-05-10T10:37:28Z")

</div>

Gutkumber is a small set of Ruby-GNOME2 automation helpers. It comes  
with Cucumber formatters and some steps for writing features. This  
allows you to test the full application stack, driving the real Gtk  
GUI with simulated keyboard events, and using assertions that can  
refer to contents of Gtk widgets.

> **[GitHub - danlucraft/gutkumber: Ruby-GNOME2 integration testing library](https://github.com/danlucraft/gutkumber/tree/master)**
>
> master

I’ve been using Gutkumber on the Redcar editor project for a while  
now, and it seems to work well. Here is an example of the kind of  
features you can write with Gutkumber:

Scenario: Kill line  
When I type “def foo”  
And I press “Left” then “Left”  
And I press “Ctrl+K”  
… some custom Redcar assertions

Scenario: Open a file  
When I press “Ctrl+O”  
And I set the “Open” dialog’s filename to  
“plugins/edit\_tab/features/fixtures/file1.rb”  
And I click the button “Open” in the dialog “Open”  
… some custom Redcar assertions

This is still in early development (it’s probably the most rough and  
ready library I’ve ever released!). But I’m finding it useful and I  
thought it would be good to demonstrate that it is possible to  
thoroughly integration test your Ruby-GNOME2 applications.

I’m writing new steps and helpers as I go along, but they are quite  
specific to my application, so you will probably find you need to  
write more. It’d be great if we could build the set of helpers and  
steps to the point where it contains everything needed to test new  
Ruby-GNOME2 apps.

Hoping someone else finds this useful,  
Dan

* * *

Daniel Benjamin Lucraft

[danlucraft.com/blog](http://danlucraft.com/blog)  
[twitter.com/danlucraft](http://twitter.com/danlucraft)
