os-cmpi-xen

view test/README @ 121:4868ace2726b

Add initial consistence checks in test suite for Xen_MemoryPool, Xen_ProcessorPool and Xen_VirtualSystemManagementService.

Signed-off-by: Luke Szymanski <Lukasz.Szymanski@Unisys.com>
author Jim Fehlig <jfehlig@novell.com>
date Fri Jun 08 10:22:05 2007 -0600 (2007-06-08)
parents eed587b5cd47
children be22f410b2a3
line source
1 1. INTRODUCTION
3 The test directory provides scripts, input files, etc. for automated testing of
4 Xen CIM providers. sblim-testsuite (http://sblim.wiki.sourceforge.net/TestSuite)
5 provides a test infrastructure for CIM instrumentation and is used by this
6 project. sblim-testsuite is capable of running interface and consistence tests.
7 Interface tests are tests performed on the various provider interfaces, e.g.
8 instance, method, and association. Consistence tests include verifying the
9 corrent number of instances is returned, verifying the property value of a
10 given instance is correct, and so on. A few property values are checked against
11 the values of xm info.
13 Currently only a subset of the instance interface tests are implemented:
14 enumInstanceNames
15 enumInstances
16 getInstance
17 associators
18 associatorNames
19 references
20 referenceNames
22 2. CONFIGURING
24 You must have sblim-wbemcli and sblim-testsuite working properly in order
25 to run the automated tests.
27 Location of installed sblim-testsuite can be specified using TESTSUITEDIR
28 environment variable. If not specified, /usr/share/sblim-testsuite and
29 /usr/local/share/sblim-testsuite will be tried.
31 3. BUILDING
34 4. INSTALLING
36 Run the setup-test script at the beginning of your testing. You must have
37 write access to the directory containing sblim-testsuite.
39 If at any point you wish to add or remove a provider for testing, simply
40 update either instance_provider_list or association_provider_list (depending
41 on provider type) and it will automatically be included in the testing.
43 5. RUNNING
45 Run the run-test.sh script. Instance provider test results are placed in
46 the file 'instance_provider_results'. Association provider test results
47 are placed in 'association_provider_results'.