Beginner's Guide to Testing Internal Classes in C#
July 24, 2023
• 1,917 views
dotnetdotnet coredotnet core c#unit testunit testingxunitxunit c#xunit c# tutorialhow to use xunitxunit tutorialunit testing tutorialC# unit testingdotnet unit testinghow to unit test c#how to unit test in dotnethow to write unit testsxunit testsc# xunitc# xunit tutorialc# unit testing tutorialxunit visual studiovisual studio testinternalsvisibletohow to test internal classes c#c# internal classC# internal class
You left your unit tests until the end of developing your feature... again! And now that you have to figure out some critical components to test, you've found that you have internal classes that you need your unit tests to see. However, if you make them public then others can see them! Let's see what we can do about that!
The code for this video can be found here:
https://github.com/ncosentino/DevLeader/tree/master/InternalsVisibleTo
For more software engineering videos, check this out:
https:...
