Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.32 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.32 KB

LX Kitchen

Test SmartOS LX zones using Vagrant and Test Kitchen.

Prerequisites

vagrant plugin install vagrant-smartos-zones
gem install test-kitchen
gem install kitchen-vagrant

Running it

git clone https://github.com/bixu/lx_kitchen.git

cd lx_kitchen

kitchen verify ## checks the state of tests in the suite

## make some changes (for example, add tests)

kitchen verify

## improve tests and fix bugs as needed

kitchen verify

kitchen destroy ## clean up the testing environment, going back to 'zero'

kitchen test ## a full end-to-end test cycle

See documenation for the preqrequisite tools for more detail.

Writing tests

See Test Kitchen documentation (http://kitchen.ci/docs/getting-started/writing-test)

Caveats

  • Only contains tests for Ubuntu LX zones currently.
  • Because LX zones are by nature much fatter than SmartOS zones and have to be downloaded for every test run, you'll want a pretty fast internet connection to facilitate faster testing.

Contributing

The standard fork/feature branch/pull request rigamarole. Improvements and expanded test coverage are welcome :)