I am working on a Windows Phone/Store and a Windows 10 UWP app. I am trying to understand what are some good techniques to unit test.
I have the unit test project setup and i have written a few unit tests. I am using CaliburnMicro framework and i have setup constructor injection which in turn helps me in unit testing as i have interfaces defined.
Is it a good practice to test Internal APIs? For example, say i have a service that checks for NetworkInfomation and gives me appropriate results or a battery check service? Would be good to test these?
Also, i use Background Transfer Service and background Task as well. Would it be feasible to test the upload scenarios ?
New to unit testing, so any help appreciated.