-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
🚧 work in progressWork that is current in progressWork that is current in progresstest-enhancementImprovements of test source codeImprovements of test source code
Milestone
Description
Background and motivation
I would like to write some test for WinForms Code written in VB in Project Microsoft.VisualBasic.Forms but many functions I want to test are not visible to testing. In C# they are declared with an attribute similar to [assembly:InternalsVisibleTo("NameOfYourUnitTestProject")], But I don't know how to do that for the VB functions.
API Proposal
Make Microsoft.VisualBasic.Forms functions InternalsVisibleTo test functions
API Usage
Not sure
Alternative Designs
Don't test VB internals as it is today with <30% coverage
Risks
If I do it high, if someone that knows what they are doing does it none.
Will this feature affect UI controls?
No
Metadata
Metadata
Assignees
Labels
🚧 work in progressWork that is current in progressWork that is current in progresstest-enhancementImprovements of test source codeImprovements of test source code