This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 3a27184a6100f8c2adc946de6523a632ec10fa2a
tree 1e0b4109536e9b90537f1312945bce7f5fdb2774
parent 81862a93fca36da103059bb370cfcb4348959007
tree 1e0b4109536e9b90537f1312945bce7f5fdb2774
parent 81862a93fca36da103059bb370cfcb4348959007
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README | ||
| |
features/ | ||
| |
langs/ |
README
cuke-utils
==========
Goodies for cute
features/support/autosave.rb
============================
A cucumber plugin to save visited page automatically
Requirement:
-
Prepare:
put autosave.rb into "features/support/" dir of your rails application
Usage:
check tmp/webrat/ after run cucumber
% ls -l tmp/webrat
total 56
-rw-r--r-- 1 maiha maiha 496 May 30 02:18 1.html
-rw-r--r-- 1 maiha maiha 496 May 30 02:18 2.html
-rw-r--r-- 1 maiha maiha 4457 May 30 02:18 3.html
-rw-r--r-- 1 maiha maiha 496 May 30 02:18 4.html
-rw-r--r-- 1 maiha maiha 6949 May 30 02:18 5.html
-rw-r--r-- 1 maiha maiha 496 May 30 02:18 6.html
-rw-r--r-- 1 maiha maiha 7122 May 30 02:18 7.html
-rw-r--r-- 1 maiha maiha 496 May 30 02:18 8.html
-rw-r--r-- 1 maiha maiha 9694 May 30 02:18 9.html
lrwxrwxrwx 1 maiha maiha 41 May 30 02:18 latest.html -> 9.html
features/support/update_language.rb
===================================
Update keywords of language.yml in runtime without affecting system catalogs
Requirement:
-
Prepare:
put update_language.rb into "features/support/" dir of your app
Example:
Adding 'Premised' into Given keywords
% vi features/support/update_language.rb
...
keywords = {
"given" => "Given|Premised",
}
Cucumber.update_language "en", keywords
# in your feature file
...
Scenario Outline: Failed Login
Premised the user is ...
features/support/disable_warning.rb
============================
A cucumber plugin to disable warnings from HTML::Document in Rails
Requirement:
Rails
Prepare:
put this into "features/support/" dir of your rails application
Example:
[before]
ignoring attempt to close th with div
opened at byte 5076, line 168
closed at byte 14544, line 415
attributes at open: {"class"=>"sa_order_detail_th", "align"=>"center"}
text around open: " <tr>\n <th class=\"sa_order_"
text around close: "v>\n </div>\n </div>\n </body>\n</h"
...
# repeated many times!
[after]
# nothing reported
Copyright (c) 2009 maiha@wota.jp, released under the MIT license








