SpecFlow icon indicating copy to clipboard operation
SpecFlow copied to clipboard

External data plugin, support for JSON files

Open mharwig opened this issue 2 years ago • 1 comments

The PR extends the External Data Plugin to support JSON files, analogous to added support for excel/csv in https://github.com/SpecFlowOSS/SpecFlow/pull/2429.

Code for handling the json is heavily based on https://github.com/kazantsev033/SpecFlow.Contrib.JsonData by @kazantsev033, but support was added for nested arrays of json objects.

The new concept is demonstrated by the /Plugins/SpecFlow.ExternalData/sample/ExternalDataSample/Features/ExternalDataFromJson.feature file.

Checklist:

  • [x] I've added tests for my code. (most of the time mandatory)

  • [x] I have added an entry to the changelog. (mandatory)

  • [x] My change requires a change to the documentation.

  • [x] I have updated the documentation accordingly.

mharwig avatar Mar 22 '23 10:03 mharwig

How to use this plugin?

PhilipQrios avatar Jun 13 '24 07:06 PhilipQrios