-
Notifications
You must be signed in to change notification settings - Fork 291
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
[BUG] Set path to chromedriver does not work for Nunit while works for UnitTesting #771
Comments
I work also with NUnit, this is another path as MSTest. You should find the right one. Try first an absolute one. Depends also from the runner |
@AngelRodriguez8008 I do not quite get you. I have the following settings in the App.config: |
add key="DriversPath" value="C:\Users\xhuang\source\repos\NunitCRMTestProject\NunitCRMTestProject\bin\Debug" |
I guest this comment belongs to this thread.
If the version of the TestSettings is correct you can simply put the this path in the Check this line: TestSettings:37-38:
DriversPath = Path.IsPathRooted(DriversPath) ? DriversPath : Path.Combine(Directory.GetCurrentDirectory(), DriversPath) Remember that the Sample Project is no included in the NUGet package. This files will not be updated automatically. If you change in Note: I see that you have Resharper installed, also I. When I use the Reshaper Test Runner Look like: VSTest set the Temporary Folder, i will look for more infos about this, check this Issue. |
I have 3 tests in the project, I set the following in the App.config:
but only the UnitTesting test passed while other 2 Nunit tests failed at not finding the chromedriver at the temp path
The text was updated successfully, but these errors were encountered: