-
Notifications
You must be signed in to change notification settings - Fork 4
Customizing MockAddresses class
cyberbyber edited this page Apr 3, 2018
·
2 revisions
The {"*"}MockAddresses class generated by the Mockifier is placed by default at the same folder as the btdfproj file when using BTDF. In order to modify the location of where the class file is placed you should define the TransMockAddressClassDir property in the btdfproj and set its value to the desired folder. Make sure you place this property in the top property group in your btdfproj file. Let's assume that you have a project for integration tests in your solution that resides under the IntegrationTests folder right under the solutions root. Changing the helper class to be stored under this folder then will look like this in your btdfproj file:
....
<TransMockAddressClassDir>..\IntegrationTests</TransMockAddressClassDir>
....