Running Powershell Pester unit test in a VSTS build pipeline

pgroenewegen@xpirit.com

When you are developing Powershell scripts, creating some unit tests will help you in monitoring the quality of the scripts. Writing some tests will give you some assurance that your code still works after you make some changes. Writing Powershell unit tests can be done with Pester. Pester will enable you to test your Powershell scripts from within Powershell. It is a set of Powershell functions for unit testing Powershell. These functions will allow you to mock and isolate the Powershell code under test. When you want to integrate your unit test into your VSTS build pipeline, you need an build extension to run then in your build pipeline.
 Read more

3 key ingredients that make you a better developer

IT is a booming business, but that doesn’t mean everyone who’s drawn to it will become a great developer. Many students sign up for an IT education for the wrong reasons. I've had classmates who enrolled in IT-related degree programs because they liked gaming or working with computers. Maybe they created a website for a neighbor or relative with a small business and thought, "I could do this for a living.”  Yes, these are good indicators of an interest in IT, but these things alone are not enough to guarantee you'll become a great developer. There are three key ingredients you need to become a great developer.
 Read more

Understanding serverless cloud and clear

Martijn van Dongen

Serverless is considered the containers’ successor. But although it’s promoted heavily, it still isn’t the best fit for every use case. By knowing what its pitfalls and disadvantages are, it becomes quite easy to find the use cases which do fit the pattern. This post gives some technology perspectives on the maturity of serverless today.

 Read more

De future fit organisatie - praktijkervaringen deel 1: De kracht en waarde van interne Agile Coaches

Jasper Sonnevelt

Een succesvolle transformatie naar een wendbare, future fit organisatie begint bij het neerzetten van de basis voor de borging. Een organisatie die start met heldere en begrijpelijke cultuurwaarden die het fundament vormen waarop de organisatie steunt. Niet alleen IT en/of Business los van elkaar maar samen met een gemeenschappelijke “purpose” gericht op (klant)waarde. De Agile Coach heeft hierin een belangrijke rol als cultuurdrager van de nieuwe organisatie en als katalysator van de verandering. De transformatie die ING Nederland doormaakt is hier een sterk voorbeeld van.

 Read more

Let Operational Analytics improve your business

Products and services are getting smarter. The Google Car can drive itself. Your phone knows how to take the best selfie and it even tells you when to leave to be on time for that important meeting. The systems that run these services are able to use and understand data in a very smart way. Now it's time for IT operations to get smarter.

Today's DevOps teams lack the ability to use data from different systems in a smart way. They don't have advanced, data-science-driven technologies to see what's happening in their stack, to see what changed, to trouble shoot on issues and to understand the relations and dependencies between all the applications and systems in the stack.

All DevOps teams are experiencing the same problem - there is too much data, too many complicated graphs, too many alerts and dashboards from different tools with too few insights. Understanding your operations can be critical to business success. The role of Operational Analytics tools is to automatically detect, fix and eventually prevent problems. In this article, I will explain what and how Operational Analytics can supercharge your IT Operations teams to stay ahead of the game compared to your competitors.

 Read more

Use VSTS to deploy Functions as Infrastructure as Code

pgroenewegen@xpirit.com

Azure Functions enable you to easily run small pieces of code in the cloud. To do this right, you need to setup continuous delivery of the infrastructure and the code involved. Otherwise you will end with an uncontrolled environment where nobody knows what code is actually running. In this blog post I’ll describe how to setup a deployment pipeline for Functions with VSTS. This will enable you to deploy Functions as Infrastructure as Code.

vstsfunctionpipelineFrom an deployment perspective an Azure Function contains of two parts:

 Read more

And now for something (not quite completely) different - Cognitive relativism in consultancy

Michael Hallik

Since joining the test automation unit of Xebia (June 2015), I have written some blog posts, all revolving around the topic of ..., well, ... test automation. However, there are a lot of other topics, across various domains, that have my interest and with regard of which I hold pretty strong, sometimes even passionate, views and opinions. These domains and topics are partially technical and partially non-technical in nature.

To be able to express my views and opinions as pertaining to the latter, that is non-technical, domains, I am launching a series of posts under the moniker of 'something (not quite completely) different'. The qualification of 'not quite completely' is in place to indicate that, although these posts will address non-technical topics, they are nevertheless relevant to the world of (test automation) consultancy.

This post will be the first of these and in it I will be riding one of my all-time favourite hobby horses, namely fighting a commonly held and, as is my opinion, untenable and quite dangerous post-modern notion. It is a misconception that I have to deal with (and even struggle with) on an almost daily basis.

It is the fallacy that there is no truth in discourse (or anywhere else, for that matter), but for the multitude of subjectively held opinions that are all equally and to the same extent true and valuable. Sometimes a variation on this is, that an opinion may be true for whomever holds that opinion, while, at the same time, it may be untrue for anybody else (since we all 'create' our own truths which do not necessarily need to be in coherence with each other). A popular adage to summarize this view, is the often used phrase ‘perception is truth’ (or ‘perception is reality’). Most often people simply state that ‘all truth is relative’ or ‘there is no absolute truth’. Lots of people also (albeit mostly unbeknownst to them) quote his Dudeness (you may also address him as ‘Duder’ or ‘El Duderino’):

duder

In more technical terms, this fashionable belief is often designated by the phrase 'cognitive relativism'.

Employment of cognitive relativism is typically opportunistic in intent and, as such, bears all the hallmarks of a deus ex machina. It is a cheap, lazy, shallow, cowardly, uninformed/thoughtless and ultimately hysterical pseudo-intellectual stance, as will become apparent in the remainder of this post. Moreover, it is the ultimate discussion killer. But above all: it is absurd! Therefore, as we will see, it can be formally proven to be untrue by way of reductio ad absurdum.

 Read more

It’s 2017: Test automation is not optional when building mobile apps!

Geert van der Cruijsen

Note: although this post focusses on mobile app development using Xamarin it also applies to other native mobile apps built in Swift, Java or even web apps. it’s 2017! whatever you are building get started with Test Automation!

As a consultant working for Xpirit i get to see a lot of different customers which I help with my expertise in building mobile applications to improve their mobile apps. Something I noticed in the previous year is that continuous delivery is a hot topic and companies and teams focus on deploying apps automatically to their testers through hockeyapp or even to the stores in beta and / or production.

In agile scenario’s (and come on who isn’t doing that currently? Every company or project I visit is saying they are agile or doing Scrum although some only do dailies and call that scrum ) In the current world it is really important to be able to release often because you want to be able to adapt to customer needs which are almost always changing and evolving.

 Read more

Don't Build That Product

Chris Lukassen

At the Agile Chef Conference I facilitated a workshop where participants could experience how Aikido can be used to resolve conflicts on the work floor as well by applying verbal Aikido. At the end of the session someone asked me to demonstrate the best defence against a sword attack; I responded by turning around and running as fast as I could.

So how is that in Product Management? what ideas are ideas you should really run away from?

 Read more

Testing web apps on Edge using CodedUI

Marcel de Vries

Recently Microsoft added the capability to CodedUI to test on the Edge browser. For this they extended the cross browser playback capability. This uses Selenium under the hood. So the steps to make this work are as follows:

 

  • Install the plugin “Selenium components for Coded UI Cross Browser Testing” from the Visual Studio Gallery (found here)
  • Download the Edge driver that matches your windows 10 version (found here)
  • Install the driver to the following location : %ProgramFiles(x86)%Microsoft Web Driver

And finally in the code you need to switch the browser you want to launch. You need to provide the following name to start edge:”MicrosoftEdge”

BrowserWindow.CurrentBrowser = “MicrosoftEdge”; 

var browserWindow = 
    BrowserWindow.Launch(new Uri("<your URl here>"));

And that is it!

Happy testing on Edge Smile