Automatic testing of a Fedora Cloud image with gherkin, qemu, pexpect and travis

Fabian Deutsch fabian.deutsch at gmx.de
Fri May 23 11:20:28 UTC 2014


Hey,

coming from a different area - oVirt Node - I also have the need to do automatic testing of images.
I am not sure how much this topic has been eroded in the Cloud SIG, but at least I wanted to give head's up to point you to this post [0] and this screencast [1].

Basically gherkin is used to specify the testcases (features/scenarios) - with all the pros of it.
qemu - the workhorse spawns a VM.
And python-expect is responsible for interacting with the VM, doing what is requested and monitoring the serial console.

Nice is that you save your battery, because it can be intergrated with Travis CI [2].

Greetings
fabian

---
[0] http://dummdida.tumblr.com/post/86583072660/automatic-testing-of-a-fedora-cloud-image-with-gherkin
[1] http://dummdida.tumblr.com/post/86584633715/screencast-automated-testing-of-a-fedora-cloud
[2] https://travis-ci.org/fabiand/fedora-cloud-features


More information about the cloud mailing list