I've been wanting to do something like this for a little while... Namely, I was getting tired of cryptic little codes for everything. Here and there I don't mind, but for every action I'd rather the nominal case fade into the background. So, like :na, I added :OK, which has the added benefit of rendering green instead of blue in emacs (because it is uppercase, I think ruby-mode thinks it is a const).
Before:
action :delete, :del, :del, :del, :del, :e_NF, :del, :del, :del
action :edit, :edit, :edit, :edit, :edit, :e_NF, :edit, :edit, :edit
action :publish, :pub, :pub, :pub, :pub, :e_NF, :pub, :pub, :pub
action :unpublish, :unpb, :unpb, :unpb, :unpb, :e_NF, :unpb, :unpb, :unpb
action :update, :updt, :updt, :updt, :updt, :e_NF, :updt, :updt, :updt
action :view, :view, :view, :view, :view, :e_NF, :view, :view, :view
After:
action :delete, :OK, :OK, :OK, :OK, :OK, :OK, :e_NF, :OK
action :edit, :OK, :OK, :OK, :OK, :OK, :OK, :e_NF, :OK
action :publish, :OK, :OK, :OK, :OK, :OK, :OK, :e_NF, :OK
action :unpublish, :OK, :OK, :OK, :OK, :OK, :OK, :e_NF, :OK
action :update, :OK, :OK, :OK, :OK, :OK, :OK, :e_NF, :OK
action :view, :OK, :OK, :OK, :OK, :OK, :OK, :e_NF, :OK
See how nice all those error cases pop out at you now? I love that. Now I can gloss over the green OKs and question everything else (n/a's and errors alike). It'll help me question my requirements even more.
:OK dispatches to a validator with the same name as the action, so now they're more readable.
Before:
# ...
end
After:
# ...
end

Hi There,
I watched the video from RejectConf and read the blog posts about functionaltestmatrix and it seems like this could save me a lot of work testing common edge casees.
However, I am still not quite clear how all the pieces fit together. Is there anywhere I can see examples of using it 'in the wild'?
Thanks.