Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find test data file #5

Open
luobumm opened this issue Nov 7, 2017 · 2 comments
Open

Can't find test data file #5

luobumm opened this issue Nov 7, 2017 · 2 comments

Comments

@luobumm
Copy link

luobumm commented Nov 7, 2017

Running VisualMutator on VisualStudio2015.
My MS test needs a json file as input, I uses MS Test 'Deploy' attribute to deploy the test data file to TestResult folder.
While running VisualMutator, in the pre-check phase, an error message dialog pop showing message like 'Failed test message: System.IO.DirectoryNotFoundException: Could not find a part of the path C:\Users\luo\AppData\Local\Temp\VisualMutator-InitTestEnviroment-zp4ugfyp.wrh\TestData\MyTestInput.json'. Actually, I even can't find 'VisualMutator-InitTestEnviroment-zp4ugfyp.wrh' folder under the Temp directory.
How can I fix this to enable VisualMutator keep working?

@pavzaj
Copy link
Owner

pavzaj commented Nov 7, 2017 via email

@luobumm
Copy link
Author

luobumm commented Nov 8, 2017

Thanks for your reply.
I tried on MS test for some simple test methods, VisualMutator works well. But for the data driven test, which needs input data file, VisualMutator always fail to find the file path and fail those tests. I am wondering is there any config file need to be edited with the file path for VisualMutator? I can't find any documentation about it.
Another potential bug I met is, when projects are organized in folders in Visual studio 2015 solutions, VisualMutator only shows projects that in the top folders, other projects are missing.
Appreciate your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants