I’ve started working on an OpenXml based engine, and we are using a lot of pptx files for testing purpose. we do not want these files to be stored in the source control. is there any recommendations on this. may be storing in a network share or a mapped drive etc?
Share
Why not store the test files in source control? Clearly, the are part of the test suite, so they belong with the tests.
Think of it this way: you write the test to discover if there is something wrong with your code. If the code is passing the test now, it might fail if you change the code itself, or the test (including the test files that drive the test). So you want to keep the test files with the test in the source control, so you have control over what tests are executed exactly.
As time goes on, you might change these files to better reflect the changes in requirements. At this point you do not want to juggle with which version of the test files belong to which version of the source/test code, which would happen if you kept them separately