Azure Functions code can often contain important functionality that needs to be tested. The two most common ways of testing code are unit testing and integration testing. Unit testing runs pieces of code in isolation, and this is relatively simple to do with Azure Functions. Integration testing can be a little trickier though, and I haven’t found any good documentation about how do this with version 2 of the Functions runtime. In this post I’ll outline the approach I’m using to run integration tests against my Azure Functions v2 code.… [Keep reading] “Integration Testing Precompiled v2 Azure Functions”
As focus moves towards mobile-first development, enterprise developers should also focus on automated testing. In an enterprise setting, we like to test for merge conflicts, sync issues, authentication failures, etc and we need to test this on hundreds of devices.
In this post, we will look at how we can set UI test project and application code so that we can test against scenarios that we face in a real-life situation (no connection, sync issues, authentication failures).… [Keep reading] “Enterprise-ready testing in Xamarin”
Thanks to the good folks at Neverware, you can now run Google’s cloud centric OS on a wider range of hardware than just Chromebooks alone. To enable this, what Neverware have done is repackage Google’s Chromium operating system. This OS is at the core of it’s range of branded laptops, and is now made available to all.
Where Google build and maintain open source versions of Android and Chromium, their real value proposition is to add proprietary features onto both before selling them on branded devices.… [Keep reading] “Run Chromium OS without having to buy a Chromebook thanks to CloudReady”
This is a post about the two deployment models currently available in Azure, Service Management (ASM) and Resource Manager (ARM). And how to migrate from one to the other if necessary.
About the Azure Service Management deployment model
The ASM model, also known as version 1 and Classic mode, started out as a web interface and a backend API for the PaaS services Azure opened with at launch.
- ASM deployments are based on an XML schema.
Active Directory Authentication Library (ADAL) provides developers with great experiences to easily integrate Azure Active Directory (AAD) with their application for authentication and authorisation. With minimum efforts, we can implement OAuth authentication against AAD, using ADAL. However, in the unit testing world, it’s not that easy to test application when the application uses ADAL because ADAL is not unit-testable. We don’t test ADAL itself, but we do need mock it to test applications using ADAL. In this post, we are going to implement how to implement wrapper classes for ADAL’s
DeviceCodeResult.… [Keep reading] “Mocking ADAL for Unit Tests”
As a fellow Surface user, I love my device.
The surface is a great device, which packs plenty of performance for heavy duty workloads such as running guest virtual machines or 3d rendering. It’s also extremely light which is great for work meetings and note taking on the go. You could say the Surface is great for any task that you can throw at it, almost…
Remember the first time you plugged your brand spanking new Surface into an external display to enable a little more desktop real estate in the office?… [Keep reading] “Windows 10 – First Look: Scaling on the Surface Pro 3”
I’ve spent a lot of time at a client site recently working on a large complex application migration project. In my scenario, the client is migrating applications from another domain, to their own. There are no domain trusts in place, so you could consider it as an acquisition/merger type scenario.
One of the common challenges often encountered in this type of work is troubleshooting Kerberos authentication process for web apps. Once the concepts of Kerberos authentication are understood, the process is relatively straight forward.… [Keep reading] “Kerberos Web Application Configuration and Federation.”
The code detailed in this post won’t work anymore. If you’re looking for updated PowerShell to use with Telstra’s APIs, please check out this updated post.
Recently, Telstra released their first public API, which in true telco fashion leverages an existing product in their stable; SMS. The service allows anyone with a Telstra t.dev account (get one here) to get an API key which will allow you to send up to 100 messages per day, 1000 per month to Australian mobiles.… [Keep reading] “Sending SMS Through PowerShell with Telstra’s New API”
Early last year I was working for one of our customers to find out an optimum test solution for their upcoming mobile application. The idea was that it should be heavily automated, efficient and cost-effective. The first observations (and the feeling) that I had was that we have very little choice in the way of tool choices. That was unfortunate, but the reality.
Almost a year later, when looking back and reflecting on some of those findings, I can see things have changed immensely.… [Keep reading] “Xamarin Test Cloud – the new kid on the block?”
Windows 10 Technical Preview build has been released since 1st October 2014. It was quoted as the “most comprehensive platform”, ever.
Both includes “seamless” upgrade from Windows 7 including bringing over your profile and most apps.
As here, I am sharing my journey to Windows 10 technical preview. And I welcome any feedback and comment.… [Keep reading] “Installing Windows 10 Technical Preview Build”