intuit / judo

Judo is an easy-to-use Command Line Interface (CLI) Integration Testing Framework, driven from a simple yaml file that also contains assertions.
Other
51 stars 21 forks source link

34: Adding support for JSON files #33

Closed anands closed 5 years ago

anands commented 5 years ago

At times I have tests in JSON files, adding support for JSON files out of the box would surely be helpful. Changes at the YAML level are not necessary as the js-yaml schema supports JSON in the core schema itself.

ejfrancis commented 5 years ago

Could you please create an accompanying issue that lays out the problem that this is solving, and include that issue number in your branch name? I'm not familiar w/JSON in YAML so any examples would be great. Thanks!

anands commented 5 years ago

@ejfrancis I have created the issue #34 . And the example is already present in the PR: here it is: https://github.com/intuit/judo/pull/33/files#diff-b95cea12fb199522ee6a03ea959033f6

anands commented 5 years ago

@efrancis I have added the example in README