Add InternalsVisibleTo
for unit tests
#573
Closed
GeorgeLeithead
started this conversation in
General
Replies: 2 comments 1 reply
-
We made a choice not to use This thought is that if we need it for a test, it should be public. Another option is to create a Mock implementation of an interface for the tests: https://github.com/CommunityToolkit/Maui/tree/main/src/CommunityToolkit.Maui.UnitTests/Mocks |
Beta Was this translation helpful? Give feedback.
1 reply
-
Closed as answered |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently any
internal
classes, methods or properties can't be tested via Unit tests. could we look to add to theAssemblyInfo.shared.cs
for all projects the following, so that we can then implement unit tests for theseinternal
s?Beta Was this translation helpful? Give feedback.
All reactions