Customized Matcher

0 views
Skip to first unread message

Rogerio De Carvalho

unread,
May 30, 2011, 6:14:24 PM5/30/11
to should-...@googlegroups.com
Just to let you know that I have just wrote a dirty simple customized
contract matcher named be_decorated_by:

https://github.com/ratem/eispatterns/blob/master/spec/supportive/contract_matchers_spec.py

Bye
--
Rogerio Atem de Carvalho

Hugo Lopes Tavares

unread,
May 30, 2011, 9:44:28 PM5/30/11
to should-...@googlegroups.com
Looks great!

Congratz :-)


PS.: your matcher return could be a function instead of a lambda -
maybe it would be more readable.

Rogerio De Carvalho

unread,
May 31, 2011, 11:52:54 AM5/31/11
to should-...@googlegroups.com
This was an initial version, it is already in use in eispatterns.
Bye


2011/5/30 Hugo Lopes Tavares <hlt...@gmail.com>:

--
Rogerio Atem de Carvalho

Reply all
Reply to author
Forward
0 new messages