As I mentioned in previous post how to deploy .net application on remote machine. So there is a way how to launch temporary Amazon EC2 instance for Web UI testing. Firstly you need to configure Amazon EC2 instance and save it as image(AMIs). Then apply script below: Continue reading “Powershell: Launching Amazon EC2 instance as Web UI test server”
The aim was to automate Web application remote deployment on Amazon EC2 instance. To achieve it I was using Microsoft Web Deploy IIS extension(this feature included into MS VS 2010). Below the main steps how to do it.
1. First of all using powershell I automated Amazon EC2 instance launch where all necessary software were installed and configured according to blog post. Do not forget to add port 8172 to Amazon security and set MS Deploy service to Automatic start.
Continue reading “.NET Application Remote Web Deploy automation”
Sometimes before you start building you need to perform some more additional actions on build server(e.g. clean up some folder or replace config files). The way out is to use PowerShell. You can easily specify tag in CruiseControl.NET project configuration file and add PowerShell task. Continue reading “CruiseControl.NET: PowerShell tasks”
Sometimes there are more than one project on Cruise Control .NET. So you need to organize project for easy reconfiguration. It is useful to create configuration file for each project and plug files you need into main ccnet.config file. Continue reading “CruiseControl.NET: Organizing projects”
Sometimes you need to automate functional tests for application with Web UI. SeleniumHQ is a free tool that is good for this purposes which you can integrate with MS Visual Studio.
You can launch test in different browsers like this: Continue reading “SeleniumHQ: launching MS Visual Studio tests for different browsers”
In this post we are going to describe StyleCop configuration for CruiseControl.NET (for 1.5 RC1 release and higher only).
Follow the steps:
1. Install StyleCop on machine where Cruise Control .NET located (actually must be you buil server).
2. Create msbuild.proj file in you MS Visual Studio project folder (where solution file is). Insert the code into created file:
Continue reading “CruiseControl.NET: StyleCop configuration”