External data plugin question
AnsweredHello. We are a software company using SpecFlow.NUnit (3.9.74) and Specflow.ExternalData (3.9.74). We see that every time we change the data in the csv file it forces us to compile, since the csv data remains in the autogenerated code of the feature file. Is there any way to avoid this? In test environments we need to be able to change the data without recompiling.
Greetings,
David Algarra
-
No, there is no way to avoid this.
SpecFlow doesn't interpret the feature file at runtime. All the real magic is happening at compile time.
This is the only way how we can integrate with xUnit, NUnit, and MSTest.
0 -
Thanks for the reply Andreas. What do you recommend if we want to have the same feature files for different test environments that have different test data?
Greetings,
David Algarra
0
Please sign in to leave a comment.
Comments
2 comments