Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Quick creation of fresh OS install for software testing

What do you recommend for quickly creating images for testing a software product (that needs hardware access - full USB port access)? Does virtualization cover this? I need to be able to quickly re-image the system to test from scratch again, and need good options for Windows and Mac OS.

like image 474
Abdullah Jibaly Avatar asked Feb 15 '09 23:02

Abdullah Jibaly


People also ask

What installation should be tested during installation testing?

Most software systems have installation procedures that are needed before they can be used for their main purpose. Testing these procedures to achieve an installed software system that may be used is known as installation testing. These procedure may involve full or partial upgrades, and install/uninstall processes.

What is install uninstall testing?

Uninstallation testing verifies whether or not all the application components are removed after the software is uninstalled. All of the files related to the application and its folder structure must be removed upon successful uninstallation. Post uninstallation, the system should be able to go back to a stable state.


1 Answers

Virtualization may work for you as long as it is only USB access.

VirtualBox is available with USB support either for "private use or evaluation" or commercially and works on Win, Mac and Linux. USB support on Linux and Mac is somewhat sporadical though and does not work with all devices. VBox supports snapshots.

VMWare has one free product called VMWare Server for Win and Linux but I'm not sure how far USB support is included in their server products. For Mac there is VMWare Fusion but that's not available for free. Fusion should work with most USB devices. Workstation products for Windows are more expensive. I think there is a trial version for all of them. All do snapshots.

I don't know how far Parallels (Mac) supports USB devices or snapshots.

You don't need snapshot functionality if you can afford some short downtime between re-imaging. You can shut down the VM and then just copy the disk image (which is nothing else but one or multiple regular files) and start the VM again. Snapshots can be reverted to a lot faster (without rebooting).

like image 165
Energiequant Avatar answered Nov 03 '22 07:11

Energiequant