mountain_view icon indicating copy to clipboard operation
mountain_view copied to clipboard

Is it possible to pass a yield in through a yml stub?

Open kimadactyl opened this issue 7 years ago • 1 comments

Heya, more feature requests :smile:

Is it possible to pass some sample yields in via the yml stub file? I've tried a bunch of things but I think yield is a protected keyword? Be great to be able to test things with arbitrary content.

Thanks!

kimadactyl avatar Aug 15 '17 11:08 kimadactyl

Hi @kimadactyl This was something talked before, see #49 (merged) and #40 (pending)

Unfortunately, passing blocks in the stubs is kinda hard, as there's no simple way to serialize it in YAML. But you can use the meta key in the stubs. Unfortunately it's not currently documented (but I'll add it soon!)—but you can see #27, or ask if any questions!

Let me know if that helps!

kitop avatar Aug 15 '17 12:08 kitop