Last time, we planned how we are going to assign fixed IP addresses to our test environment, solving the chicken-egg problem of accessing the computer to configure the IP address without knowing the IP address and thus being unable to remove into the machine. Let’s see how can we set up the networking for the […]
Planning IP Address Assignment for the Test Network
In the previous article, Creating Complex Environment for Testing, we configured Jenkins to create complex test environments. The only problem is that we don’t know where the computers are on the virtual network. From the host environment, we don’t see the IP address and we cannot set them to a specific value from outside of […]
Creating Branches with Commands
In the previous article, Creating Composite Commands, we have seen a command composition pattern that is like a sequence. In this article, we are going to explore one resembling to branching. With the combination of the two, complex workflows can be described as reactions to user initiated actions. CanExecute The CanExecute method of this command […]
Creating Complex Environment for Testing – Served by Jenkins
In the previous article, Creating Virtual Image from Template Executed by Jenkins, we automated the creation of one single image through a Jenkins build. Now, we are going to take it to the next level, and let’s instantiate a group of machines. This will provide the possibility to configure them up in term of networking […]
Creating Composite Commands
In the previous week’s article, Why Should You use Commands in WPF Applications, we explored the benefits of using commands in the WPF applications. Now that we’ve seen how useful can this be, here is an interesting trick. You can think of a command as a function that is changing or processing an object in […]
Creating Virtual Image from Template Executed by Jenkins
In the previous article, Creating Clone of Virtual Machine from PowerShell, we created template to use for cloning images. In this article, we are going to configure Jenkins, so that it can create that automatically as a build or part of a build pipeline. Installing necessary plugins The plugin required to execute PowerShell scripts is […]
Why Should You use Commands in WPF Applications
The command pattern is old in the software industry. The earliest date that I’ve found that it was published is in the Design Patterns book, by the “Gang of Four”, which was first published in 1994. Most likely it was around earlier, otherwise would not make the book. While it is a well-known pattern, the […]
Creating Clone of Virtual Machine from PowerShell
During the previous articles, we created a virtual machine and installed an operating system on it, that we intend to use as base image for automatically generating environment for tests. In case you missed those articles, here is the research plan for automatic test environments. Now that we created the image, we would like to […]
Creating Attached Properties
Attached Properties are a special kind of dependency properties. They are most likely used to specify some layout information that is containing information for the containing control, not the control that on which we set it. To demonstrate the usage of the attached properties, we are going to implement a simple layout control which has […]
Installing Base Windows Image for Automated Test Environments
In the previous two parts of this series, Downloading Windows 10 ISO From Microsoft – in 10 easy steps and Creating a Hyper-V Virtual Machine for Automatic Test Environments, we downloaded the Windows 10 installer and created a virtual machine for its installation. Now it is time to install it for creating a base image […]