-
Notifications
You must be signed in to change notification settings - Fork 328
CHANGE: Expose internals to the input tests package #2256
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
base: develop
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
🤖 Helpful? Please react with 👍/👎 | Questions❓Please reach out in Slack #ask-u-pr-agent |
PR Code Suggestions ✨No code suggestions found for the PR. |
Codecov ReportAll modified and coverable lines are covered by tests ✅ @@ Coverage Diff @@
## develop #2256 +/- ##
===========================================
+ Coverage 76.70% 76.72% +0.01%
===========================================
Files 465 465
Lines 87919 87944 +25
===========================================
+ Hits 67442 67477 +35
+ Misses 20477 20467 -10 Flags with carried forward coverage won't be shown. Click here to find out more. see 2 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Why is this internal visibility needed? What dependencies exist driving such a change? |
This is related to the task Ashwin is working on where he is moving tests in trunk, from a project to a package. There are 2 types that those tests access that needs access to internals:
|
That being said, DualShock4HIDInputReport should be accessible because it used from Tests/EditModeAndPlayModeTests/InputBackend/Assets/Utilities/InputUtils.cs and that lives in the Tests/EditModeAndPlayModeTests/InputBackend/Assets/Utilities/Utilities.asmdef which is named Unity.InputSystem.Tests, which already has access to internals... |
I am just worried this is adding to the pile of technical guilt that needs to be reverted. @LeoUnity @AswinRajGopal here is my perspective on this. DualShock4HIDFormat e.g: The I am not sure there was additional thing I can help with, feel free to DM in that case or reply here. |
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.
I am marking this as request changes since I think we should avoid adding these kind of dependencies unless there is no other way. I am more than happy to help guiding towards alternatives.
@AswinRajGopal Please update this PR with latest develop to get #2260, I do not dare updating it since it has conflicts. |
Description
This change has dependency for this test package PR: https://github.cds.internal.unity3d.com/unity/unity/pull/78036
Testing status & QA
Overall Product Risks
Comments to reviewers
Checklist
Before review:
Changed
,Fixed
,Added
sections.Area_CanDoX
,Area_CanDoX_EvenIfYIsTheCase
,Area_WhenIDoX_AndYHappens_ThisIsTheResult
.During merge:
NEW: ___
.FIX: ___
.DOCS: ___
.CHANGE: ___
.RELEASE: 1.1.0-preview.3
.After merge: