You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rul...@googlegroups.com
Howdy Folks,
For testing/debugging purposes, is there a way to know how often a rule has matched?
We're using Ruleby to enforce some data integrity rules and I thought'd it be nice to be able to assert, for a given set of data, that a particular rule is matched x number of times.
Thanks for any guidance you can offer.
Cheers,
Mel
Joe Kutner
unread,
Mar 2, 2012, 3:20:10 PM3/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruleby
I'll assume you want something better than adding
GLOBAL_COUNT[:my_rule] +=1 to the right-hand-side of the rule :)