Displaying 2 results from an estimated 2 matches for "test_something_really_import".
2007 Mar 22
1
WxSugar 0.1.14 is released
Hi
I''m pleased to announce that a new version WxSugar is now available from
http://rubyforge.org/frs/?group_id=35&release_id=10569
= CHANGES =
* Can now just do "require ''wx_sugar''" to load all behaviours
* Added ''find_window'' and ''descendants'' methods to Wx::Window
* :name and :validator constructor arguments now work
2007 Apr 02
2
Re: Test driving WxRuby2 apps
...require ''rubygems''
require_gem ''nobbie-wx-preview''
require ''your_application''
#important - tell nobbie which application you want to test
APPLICATION_UNDER_TEST = YourApp.new
class YourAppTest < Test::Unit::TestCase
def test_something_really_important
assert !enabled?(:save)
type ''fred'', :first_name
choosable(:male).choose
selection(:title).choose ''Mr''
assert enabled?(:save)
click :save
end
end
For more examples look at the ''test'' directory unde...