How do I specify data to be used in each of my test cases?
i.e. I wish to use one table to setup some data and then run a bunch of tests against that data.
Thanks
How do I specify data to be used in each of my test cases?
i.e. I wish to use one table to setup some data and then run a bunch of tests against that data.
Thanks
Copyright © 2021 Jogjafile Inc.
I've been looking at Gojko and their suggestion is to create a singleton that you invoke at the beginning of your test page. Here's an example of the FitNesse edit:
And my C# code (SUT -> System Under Test is a basic Singleton:
My other classes that I'm testing use that singleton to get their data.
I hope that helps.