-
-
Notifications
You must be signed in to change notification settings - Fork 544
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
Subject identification not working on remote desktop #2481
Comments
What OS runs on the remote desktop? Can you please verify following:
|
All the machines have Windows. I ran the build on the remote desktop and all tests passed. |
Ok. I thought something related to #2368 |
Do you mean that you only move the binaries to the new machine? Or did you also copy over the binaries? Because by default, |
I copy over all the binaries, yes. Everything from the bin folder is carried over. Then I run the dotnet test command on the remote machine exactly as I would run it locally. The command is given the dll containing my tests as the argument and because it's a dll it doesn't attempt to rebuild. |
|
Description
I have not been able to get the subject identification component of FluentAssertions working on either of our two remote testing desktops and build configurations don't seem to be the cause of the issue for me.
I don't imagine my use case is that uncommon, so I'm hoping this is just a simple configuration issue, however I'm unable to find information about what to look for to troubleshoot this. The documentation mentions using the debug build configuration as the only requirement, but there seem to be more that go unmentioned?
Reproduction Steps
I can easily reproduce the issue in a fresh (SpecFlow) testing project.
After setting up a new testing project...
Expected behavior
Expecting to receive the following error on both machines:
"Expected test to be "false" with a length of 5, but "true" has a length of 4, differs near "tru" (index 0)."
Actual behavior
The expected error only appears when running the test script on the local PC (same one where tests were built)
On the remote desktop I receive the error without subject identification:
"Expected string to be "false" with a length of 5, but "true" has a length of 4, differs near "tru" (index 0)."
Regression?
For me the subject identification has never worked on any PC other than the one I build on.
Known Workarounds
No response
Configuration
FluentAssertions v. 6.11
.NET 5 and .NET 6
Other information
No response
Are you willing to help with a pull-request?
No
The text was updated successfully, but these errors were encountered: