Closed hans-d closed 8 years ago
Here's the standard parser. You can replace it with a custom one in options to the mocha plugin or if running yadda by some other means, instantiate it by hand, e.g. https://github.com/acuminous/yadda/blob/f95f70c24237665228e523bbd5adb4944d887a32/lib/plugins/mocha/BasePlugin.js#L30
How did you get on?
An alternative to writing a new parser would be to reference YAML files from the example table and parse them in the step (or using a dictionary converter).
Closing due to lack of response
For some tests I have quite some variables. Using separate fields makes the table quite long and hard to use. Currently adding some YAML inside fields, combined with a custom converter like
would be nice if I could it write it like:
Currently cannot yet locate how/where to provide an alternate parsing.