Hi I tried the BDD Integration with NUnit-console, as the runner.
This works well in Visual Studio (specflow addin), since I can mark Ranorex.Core as "Local Copy" = True , in the reference property. This will create the necessary Ranorex dll's in the bin/Debug Folder
while using the Ranorex Studio (ranorexBdd addin), I cannot mark Ranorex.Core as "Local Copy" = True , in the reference property, since every time thprject opens it returns to False (only Ranorex.Core.Resolver stays true). This then does not create the necessary Ranorex dll's in the bin/Debug Folder, and they are not found by nunit-console.
note: I know about the settings "copy runtime to local" option, but it copies the ddls to /big/Debug/runtime dir and they are still not found. Also, some xml files, that are created by the build processes, are not in the copied files. (Example Ranorex.Core.xml)
What should I do?
thanks
BDD Integration with NUnit-console - missing dlls
-
- Posts: 65
- Joined: Wed Sep 24, 2014 7:47 am
- Location: Israel
- RobinHood42
- Posts: 324
- Joined: Fri Jan 09, 2015 3:24 pm
Re: BDD Integration with NUnit-console - missing dlls
Hi,
You could overcome the issue by specifying a pre-build event:
Project -> Properties:
I hope this helps.
Cheers,
Robin
You could overcome the issue by specifying a pre-build event:
Project -> Properties:
I hope this helps.
Cheers,
Robin
You do not have the required permissions to view the files attached to this post.
-
- Posts: 65
- Joined: Wed Sep 24, 2014 7:47 am
- Location: Israel
Re: BDD Integration with NUnit-console - missing dlls
Thanks RobinHood42 , I know about this, but as stated , setting the copy true and compiling creates files (e.g. xml files) that are not in the /runtime directory. So there seems to be a difference between the output of "copy runtime to local" (Settings) option and "Local Copy" true of a reference (Ranorex.Core)
- RobinHood42
- Posts: 324
- Joined: Fri Jan 09, 2015 3:24 pm
Re: BDD Integration with NUnit-console - missing dlls
Hello,
Please note, that I was not referring to the "Copy runtime to output" functionality, but to a pre-build event. The "Local copy" property of the Ranorex DLLs is reset everytime the project is opened, so this is not a viable solution. Furthermore, the generated XML files just contain documentation information and are not necessarily needed for the test execution itself.
Cheers,
Robin
Please note, that I was not referring to the "Copy runtime to output" functionality, but to a pre-build event. The "Local copy" property of the Ranorex DLLs is reset everytime the project is opened, so this is not a viable solution. Furthermore, the generated XML files just contain documentation information and are not necessarily needed for the test execution itself.
Cheers,
Robin
-
- Posts: 65
- Joined: Wed Sep 24, 2014 7:47 am
- Location: Israel
Re: BDD Integration with NUnit-console - missing dlls
Thanks Robin, I put the xcopy in post-build event (from Ranorex installation). works well.