Update README
This commit is contained in:
parent
93c8ebf896
commit
38a9b8c3a9
36
README.md
36
README.md
@ -1,8 +1,8 @@
|
|||||||
Introduction
|
Introduction
|
||||||
============
|
============
|
||||||
|
|
||||||
A suite of tools for manipulating the metadata of the dm-thin
|
A suite of tools for manipulating the metadata of the dm-thin, dm-cache and
|
||||||
device-mapper target.
|
dm-era device-mapper targets.
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
============
|
============
|
||||||
@ -108,29 +108,25 @@ Alternatively you may want to run a subset of the tests:
|
|||||||
Functional tests
|
Functional tests
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
These top level tests are implemented using the
|
A bunch of high level tests are implemented in the functional-tests directory.
|
||||||
[cucumber](http://cukes.info/) tool. They check the user interface of
|
These tests are written in Scheme. To run them you'll need to install
|
||||||
the tools (eg, command line switches are accepted and effective).
|
chezscheme (http://www.scheme.com/). In addition they make use of the
|
||||||
|
thunderchez (https://github.com/ovenpasta/thunderchez) library.
|
||||||
|
|
||||||
I've provided a Gemfile, so installing this should be easy:
|
Make sure the tools that you wish to test are in your PATH, and the thunderchez
|
||||||
|
directory is in the CHEZSCHEMELIBDIRS environment variable.
|
||||||
|
|
||||||
- Install Ruby 1.9.x. I recommend doing this via RVM.
|
Then,
|
||||||
- Make sure _bundler_ is installed:
|
|
||||||
|
|
||||||
gem install bundler
|
cd funtional-tests
|
||||||
|
./run-tests run
|
||||||
|
|
||||||
- Install dependencies (including _cucumber_ and _thinp\_xml_)
|
Other command are help and list.
|
||||||
|
|
||||||
bundle
|
|
||||||
|
|
||||||
Once you've done this you can run the tests with a simple:
|
|
||||||
|
|
||||||
cucumber
|
|
||||||
|
|
||||||
Or specific tests with:
|
|
||||||
|
|
||||||
cucumber features/thin_restore -n 'print help'
|
|
||||||
|
|
||||||
|
The test framework places temporary files under /tmp/test-output/. By default
|
||||||
|
the tests tody up after themselves, just leaving a log file for each test. You
|
||||||
|
can turn this off by using the --disable-unlink flag if you want all the
|
||||||
|
artifacts left.
|
||||||
|
|
||||||
Dump Metadata
|
Dump Metadata
|
||||||
=============
|
=============
|
||||||
|
Loading…
Reference in New Issue
Block a user