Jason Hoover

Testing Patterns in Rulesets with brUnit

Discussion created by Jason Hoover on Dec 22, 2009
Latest reply on Jan 5, 2010 by Jostein Ulseth

Hello all,

I'm running into some difficulty here and was curious if anyone could spot my error or tell me if they have encountered it too.


I'm trying to test a ruleset that uses a local pattern in the ruleset.  In my brUnit test, I create collection and assign it to a global collection.  This local pattern in the ruleset uses this global collection to get created.


However, this pattern doesn't appear to be getting populated with the data in this collection, as the rules that use it don't seem to fire.


Is there something else I need to do to ensure a pattern is populated when running the brUnit Test Runner?