Using data from external file in feature file
Hello everyone,
I am using SpecFlow for my test, and in feature file I've got table with examples, but those examples are changing over time and their amount also changes. So I would like to get them from external files (xlsx, csv, json, xml or whatever). As I now SpecFlow.Plus.Excel is no longer available, so I try to find another way to do that but for know unsuccessfully. Do you know how can I do that? Are there some plugins/packeges that allow it? Maybe have you some examples. I would be really appreciate.
Thanks for advices or any suggestions how to solve this issue.
-
michal.gorynski Have a look at our blog or Twitter in the next days. ;-)
1 -
Andreas Willich I can't wait till I see it. :)
0 -
https://specflow.org/blog/new-plugin-externaldata-helps-you-improve-test-coverage-quickly/
We were faster than expected ;-)
Let me know if this solves your use case.
0 -
Andreas Willich thank you, that really helps
Unfortunately it requires specflow update and that couse problem with Specflow.Allure :/
0 -
Ok, I think this is the third or fourth time that I see, that someone has problems because of SpecFlow.Allure doesn't work with the latest version.
They have an open issue (https://github.com/allure-framework/allure-csharp/issues/133) for more than 2 months. :-/
But perhaps you also want to change your reporting. ;-)
We made something new: https://specflow.org/blog/introducing-the-specflow-plus-livingdoc-generator/
0
Please sign in to leave a comment.
Comments
5 comments