Forum: Ruby-Gnome 2 [ANN] Gutkumber - integration testing for Ruby-GNOME2 applications

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
0158871402c1ecfa57952e8a379cfd10?d=identicon&s=25 Daniel Lucraft (lucraft)
on 2009-05-10 10:37
(Received via mailing list)
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.

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
    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,

Daniel Benjamin Lucraft
This topic is locked and can not be replied to.