Problem
If the control reflection uses a random or time based value, then the actual execution could use a different value. The control and the execution need to be synced up.
Solution
- Track control values via methods like
.sample or ActiveRecord
- Add an "is_random :method" helper for methods that return a random value
- Keep track of random values and replay them in execution
Problem
If the control reflection uses a random or time based value, then the actual execution could use a different value. The control and the execution need to be synced up.
Solution
.sampleor ActiveRecord