WinTest: Difference between revisions

From SambaWiki
(basic wintest info)
 
mNo edit summary
Line 6: Line 6:


Some background information on wintest is available in [http://blog.tridgell.net/?p=91 this blog post]
Some background information on wintest is available in [http://blog.tridgell.net/?p=91 this blog post]

=== Setting up your environment for wintest ===

To run wintest you need a Linux host that can control Windows VMs. Any scriptable VM system that supports snapshots should work. There are two example config files for wintest, [http://samba.org/ftp/unpacked/samba_4_0_test/wintest/conf/tridge.conf one of them] is setup for using VirtualBox, while [http://samba.org/ftp/unpacked/samba_4_0_test/wintest/conf/abartlet.conf the other] is setup for using virsh to control KVM]. If you build a config for a different VM system, please contribute an example config file.

Revision as of 23:22, 1 December 2010

Testing against Windows with wintest

wintest is a framework for testing Samba against Windows virtual machines. It aims to provide a reliable, repeatable test system that any Samba developer can setup.

The core of wintest is based on pexpect, a python expect system that provides a flexible way of controlling command line tools.

Some background information on wintest is available in this blog post

Setting up your environment for wintest

To run wintest you need a Linux host that can control Windows VMs. Any scriptable VM system that supports snapshots should work. There are two example config files for wintest, one of them is setup for using VirtualBox, while the other is setup for using virsh to control KVM]. If you build a config for a different VM system, please contribute an example config file.