Just wrote my first my first `@rule_helper`. Bless...
# development
h
Just wrote my first my first
@rule_helper
. Bless you @bitter-ability-32190 😭😍
🔥 2
💯 1
I'm very happy that this lets me add pretty detailed comments to a very niche part of the rule, without worrying about making the overall rule too long
b
Make sure smash that like button and hit "subscribe"
🙌 3
😂 3
h
Have you experimented with testing these helpers? I wonder if we can use something like
run_rule_with_mocks
b
No not at all 😅 Mocking is certainly an option. Don't see why it wouldn't work
👍 1
h
Cool. I might want to play around with that. I am thinking we should not try to hook up
RuleRunner
- at that point, test the whole rule as ~ integration test But using mocks could be useful for when the helper has lots of intricate logic
👍 2
b
I concur