Let's say I have a main test, 'testA' that data drives 'testB' from its local data grid. Now testB calls of a number of other tests, some of which inherit the data from testA's data grid. One of testB's tests, testC, is also used in several other main tests throughout my project.
Now, in other test scenarios I have testC inherit the data from the main test, but in this particular scenario I want testC to use data from its local grid or at least from testB's local data.
How can I achieve this without having to change testC's inheritance property? I have observed that a test's local Data Grid is ignored when the InheritParentDataSource is checked. Do I need two versions of testC; one with inheritance 'on', the other 'off'?