-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[dotnet] Fix dev environment to run tests on Windows/MacOS #15303
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
Conversation
PR Reviewer Guide 🔍(Review updated until commit aebbdc6)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to aebbdc6
Previous suggestionsSuggestions up to commit bed777d
|
@RenderMichael can you please check whether it is still working on your environment? Looking forward any feedback. |
This all works for me! Can I ask what wasn't working before? Maybe it's because I built the Java bindings, but I had no issues. I didn't try macOS though. |
I should not change build output path for DevTools generator in this PR. I will revert it back. |
Finally I did it working, supporting .NET cross-platform IDE to execute tests. WhyI leaned that HowDo not execute generated shell script by bazel. Use Can be simplified?Yes, it can! Python and Ruby don't have dependency to java web server, .net is happy to introduce own. |
Confirmed that the Love this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good from a quick glance! I'd merge as long as RBE and .NET CIs are passing.
Merging it. If somebody has issues to execute tests in IDE, please post new issue. |
User description
Runfiles
nuget packageappserver
Motivation and Context
Now I am able to use my IDE to execute tests:
Types of changes
Checklist
PR Type
Bug fix, Enhancement
Description
Updated
Runfiles
package to version 0.14.0.Refactored
TestWebServer
to improve IDE compatibility.Simplified dependency management by removing unnecessary packages.
Fixed nullable warning in
CallFunctionCommand
.Changes walkthrough 📝
TestWebServer.cs
Refactor `TestWebServer` for IDE compatibility
dotnet/test/common/Environment/TestWebServer.cs
TestWebServer
to useRunfiles
for appserver pathresolution.
WebDriver.Common.Tests.csproj
Update dependencies and build target in project file
dotnet/test/common/WebDriver.Common.Tests.csproj
Runfiles
package to version 0.14.0.CallFunctionCommand.cs
Fix nullable warning in `CallFunctionCommand`
dotnet/src/webdriver/BiDi/Modules/Script/CallFunctionCommand.cs
Arguments
property.paket.dependencies
Simplify and update dependencies
dotnet/paket.dependencies
Runfiles
package to version 0.14.0.