Working ...
RemoteInstall Test Framework Open-Sourced
Back
|
codeproject, testing, dotnetinstaller, vmware, msi
|
11/18/2009
|
1686 Clicks
|
Post Comment
|
Favorites
I am pleased to announce the open sourcing of the
RemoteInstall Test Framework
.
RemoteInstall is a pragmatic approach to testing and has been extremely successful at my
day job
. We went through several test framework iterations and just couldn't get any automation going. We tried expensive systems and open-source stuff. We spent cash. We made automation a priority. It continued being a dead end.
In the meantime we were authoring MSI installers like crazy. We had to deal with a large distributed system that was having a high deployment failure rate, a system made of many components. We had hundreds of upgrade paths and it was clear that we needed to automate it. Seeing company automation efforts deadlocked, I decided that instead of trying yet another expensive test system I'll have an intern write a simple tool that can leverage VMWare Infrastructure. I wanted it to do this:
for each virtual machine {
for each snapshot {
restore the snapshot
install the software
report success or failure
}
}
Simple enough? That's all RemoteInstall was at its inception. You can get this behavior out of the box with a simple config file. Here's what the output looks like in CruiseControl. This tests an application for clean install and upgrade from various known snapshots.
The results were superb. We have virtually zero deployment failure in production for thousands of custommers.
Then, eventually we got pretty good at this adding lots of useful features. If you have more than one VM you can do this in parallel. RI integrates with build automation. It can pickup your latest installers from network shares. Etc.
Next, we thought: why not run some tests after each successful installation? So we added tasks and some simple integration. So you can execute JUnit or NUnit tests on the remote machine post-installation.
This made it into a full blown test framework. We now author tests in C# and Java and remote them via RI to run against multiple configurations.
Download RI Here
I want to thank
Application Security Inc.
for helping me in making this happen and all the anonymous developers who have contributed code to RI here on Madison Ave.
Hi,
Its a great job, congratulations!
Can it run under TeamCity?
thanks in advance
dedehasan
@ Tuesday, February 16, 2010 8:52 AM
Reply
It workes with TeamCity very well.
nant handles all parameters given to remoteinstall.
dedehasan
@ Monday, March 08, 2010 8:39 AM
Reply
Contact
Highlights
Dblock.org
FoodCandy
Vestris SVN
VMWareTasks
dotNetInstaller
RemoteInstall
MSI Extensions
ResourceLib
Popular Posts
Waffle
Java Native Access (JNA)
Svn2Svn
Stuff
all posts
.net
active directory
agile
architecture
asp.net
blog
build
codeproject
databases
dos
dotnetinstaller
emma
facebook
foodcandy
google
gwt
hardware
hibernate
java
jna
jndi
jobs
log4cxx
me me
microsoft
msbuild
msi
opends
organizations
oshi
outlook
people
remoteinstall
scheme
security
sncore
soa
spring
subversion
syndication
testing
tomcat
ui
vestris
vmware
waffle
win32
wix
wmi
p
|
s
|
pop
|
pics
|
c
|
me
|
h
295870 clicks since 8/10/2008
Search
<
July 2010
>
>>
S
M
T
W
T
F
S
>
27
28
29
30
1
2
3
>
4
5
6
7
8
9
10
>
11
12
13
14
15
16
17
>
18
19
20
21
22
23
24
>
25
26
27
28
29
30
31
>
1
2
3
4
5
6
7
all
|
today