Continuing from my last post. Documenting the Service class unit tests remains. A quick look at the source code shows there are three service classes but, regrettably only one of them can be tested. The Message service requires a user response that I have yet to figure out how to do programmatically for the unitContinue reading “Unit Testing the Xamarin Forms Mobile App: The Service”
Tag Archives: C#
Unit Testing the Xamarin Forms Mobile App: The ViewModel
In the previous post I demonstrated unit testing for the Azure Functions that are used by the Xamarin Mobile application for myWineDB (to-date). In this post (and the one to follow) I will document the challenges to writing unit tests for the Mobile application. I knew when I started that I should have been testingContinue reading “Unit Testing the Xamarin Forms Mobile App: The ViewModel”
Unit Testing the Azure Functions API
Maybe I am old school and I have lost touch with the younger generation of programmers, but, in my day almost all programmers hated unit testing. I for one was one of them. No longer! When teams are spread across time zones and they contribute to the same project. Nothing will scream “OPPS!” louder thenContinue reading “Unit Testing the Azure Functions API”
…You Get the Horns Part 1
Part 1 of a 2 part blog on using MSAL with a Flyout Xamarin Forms Application.
Sometimes you get the Bull and Sometimes…
I thought it would be an easy extension of my custom domain, with proxied URLs for the Function API to include authentication. NOT! At the time of this writing I am half way to my objective. I can authenticate and retrieve (or submit) data from/to the API using Postman. But as of today I canContinue reading “Sometimes you get the Bull and Sometimes…”
Security by Obfuscation or Where is the API?
And the answer is… The API can be anywhere, and a new Function App has been set up for the rest of the API development (well, the old version is still up so the link in a previous post still works). On top of that proxies have been set up to the subdomain api.mywinedb.org, soContinue reading “Security by Obfuscation or Where is the API?”
Taking the Red Pill
One of my favorite movies is The Matrix because it has so many software development themes in it. For the uninformed The Matrix is an artificial world set up by machines powered by the energy of humans who “think” they are in the real world. The main character is given a choice early on inContinue reading “Taking the Red Pill”