I believe in unit testing but often have trouble figuring out what to test in XF or MAUI view models.
Is this a common problem?
I believe in unit testing but often have trouble figuring out what to test in XF or MAUI view models.
Is this a common problem?
@khalidabuhakmeh @jesseliberty I have been teaching TDD for about 13 years, and I'm *constantly* having to fight against the "code coverage" metric.
Khalid is correct, not everything needs to be tested! Test logic, integration of infrastructure, etc.
I'm not sure what's available for UI Testing MAUI apps yet though.
@baruch Testing views and unit testing are very different, though. I agree with what you said about testing views. With unit testing I often come up empty.
But I need to spend more time with Moq.