Does anyone know how to test private functions in a Silverlight Unit Test project? The *_Accessor objects don’t seem to be available that are their in a normal unit testing project.
Does anyone know how to test private functions in a Silverlight Unit Test project
Share
You cannot unit-test private functions. You have 3 options:
Unit testing is usually done to test the interface of classes to the outside world. Unit testing private methods is not recommended.