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?

@jesseliberty unit test what gives you value. You don't need 💯 coverage.

@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.

@jesseliberty Figuring out what parts of views to test is the number one challenge in unit testing. It is what keeps it interesting.

@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.