Plugin capabilities Tests
This page contains tests instructions for the capabilities plugin. This page is meant to aid in testing at release time and be a guide for developing automated tests. Please add any tests that you have run when testing this plugin.
# |
Description |
Test steps |
Expected result |
---|---|---|---|
1 |
Check collectd installation procedure with capabilities enabled |
|
|
2 |
Check if the plugin returns the data according to the design |
|
|
3 |
Verify if the plugin returns the data in json format |
|
|
4 |
Check if the plugin returns information from pre-selected number of DMI types === |
|
|
5 |
Verify if the plugin returns correct BIOS information |
|
The data should be 100% consistent |
6 |
Verify if the plugin returns correct System information |
|
The data should be 100% consistent |
7 |
Verify if the plugin returns correct Baseboard information |
|
The data should be 100% consistent |
8 |
Verify if the plugin returns correct Processor information |
|
The data should be 100% consistent |
9 |
Verify if the plugin returns correct Cache information |
|
The data should be 100% consistent |
10 |
Verify if the plugin returns correct Physical Memory Array information |
|
The data should be 100% consistent |
11 |
Verify if the plugin returns correct Memory Device information |
|
The data should be 100% consistent |
12 |
Verify if the plugin returns correct IPMI Device information |
|
The data should be 100% consistent |
13 |
Verify if the plugin returns correct Onboard Devices Extended Information |
|
The data should be 100% consistent |
14 |
Check collectd behavior upon lack of 'LoadPlugin capabilities' section in the configuration file |
|
Warnings are raised in collectd log file |
15 |
Verify plugin behavior upon incorrect format of string configuration option |
|
Respective Warnings are raised in collectd log file |
16 |
Verify plugin behavior upon incorrect data type instead of string in configuration option |
|
Respective Warnings are raised in collectd log file |