Skip to main content

avocado_varianter_pict

This plugin uses a third-party tool to provide variants created by “Pair-Wise” algorithms, also known as Combinatorial Independent Testing.

Installing PICT

PICT is a free software (MIT licensed) tool that implements combinatorial testing. More information about it can be found at https://github.com/Microsoft/pict/ .

If you’re building from sources, make sure you have a C++ compiler such as GCC or clang, and make. The included Makefile should work out of the box and give you a pict binary.

Then copy the pict binary to a location in your $PATH. Alternatively, you may use the plugin --pict-binary command line option to provide a specific location of the pict binary, but that is not as convenient as having it on your $PATH.

Using the PICT Varianter Plugin

To install the Avocado PICT plugin from pip, use:

$ sudo pip install avocado-framework-plugin-varianter-pict

To run the example below, use the test included in the avocado code

$ git clone https://github.com/avocado-framework/avocado.git

The following listing is a sample (simple) PICT file included at avocado/examples/varianter_pict/params.pict

arch: intel, amd
block_driver: scsi, ide, virtio
net_driver: rtl8139, e1000, virtio
guest: windows, linux
host: rhel6, rhel7, rhel8

To list the variants generated with the default combination order (2, that is, do a pairwise idenpendent combinatorial testing):

$ avocado variants --pict-parameter-file=avocado/examples/varianter_pict/params.pict
Pict Variants (11):
Variant amd-scsi-rtl8139-windows-rhel6-acff:    /run
Variant intel-scsi-virtio-linux-rhel8-26df:    /run
Variant amd-ide-virtio-windows-rhel7-3fe7:    /run
Variant amd-virtio-e1000-linux-rhel7-bf2d:    /run
Variant intel-scsi-e1000-windows-rhel8-4808:    /run
Variant intel-scsi-rtl8139-linux-rhel7-2975:    /run
Variant intel-virtio-rtl8139-windows-rhel8-6632:    /run
Variant intel-ide-rtl8139-linux-rhel6-edd2:    /run
Variant intel-virtio-virtio-windows-rhel6-e95a:    /run
Variant amd-ide-e1000-linux-rhel8-5fcc:    /run
Variant amd-ide-e1000-linux-rhel6-eb43:    /run

To list the variants generated with a 3-way combination:

$ avocado variants --pict-parameter-file=avocado/examples/varianter_pict/params.pict \
  --pict-order-of-combinations=3

Pict Variants (28):
Variant intel-ide-virtio-windows-rhel7-aea5:    /run
...skip...
Variant intel-scsi-e1000-linux-rhel7-9f61:    /run

To run tests, just replace the variants avocado command for run:

$ avocado run --pict-parameter-file=avocado/examples/varianter_pict/params.pict /bin/true

The tests given in the command line should then be executed with all variants produced by the combinatorial algorithm implemented by PICT.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file avocado_framework_plugin_varianter_pict-113.0.tar.gz.

File metadata

File hashes

Hashes for avocado_framework_plugin_varianter_pict-113.0.tar.gz
Algorithm Hash digest
SHA256 665c41fd98416293ed238d234cb35d4528e181618eae17ca0bea33a2740fa56b
MD5 2c6b2e5e6c8116f83a7323ab5799b9cb
BLAKE2b-256 ccaab654a4f2fd900a568f90ec044a3c10b507a6a4baa587162f62d2af4f548c

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_varianter_pict-113.0.tar.gz:

Publisher: release.yml on avocado-framework/avocado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file avocado_framework_plugin_varianter_pict-113.0-py3-none-any.whl.

File metadata

File hashes

Hashes for avocado_framework_plugin_varianter_pict-113.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d87d3220c0cc1559416e30e4de7d38eabd971d5b565e221a82be6725ddab67a2
MD5 8e5219fbb34ecf9291a59c745246d684
BLAKE2b-256 400899ce13ae4065ece68f32eff9869a449de7f893bd0acc8ff3bb1a415f6b65

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_varianter_pict-113.0-py3-none-any.whl:

Publisher: release.yml on avocado-framework/avocado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

113.0 This release

2 files

112.0

2 files

111.0

2 files

110.0

2 files

109.0

2 files

108.0

2 files

107.0

2 files

106.0

2 files

105.0

2 files

104.0

2 files

103.0

2 files

102.0

2 files

101.0

2 files

100.1

2 files

100.0

2 files

99.0

2 files

98.0

2 files

97.0

2 files

96.0

2 files

95.0

2 files

94.0

2 files

93.0

2 files

92.3

2 files

92.2

2 files

92.1

2 files

92.0

2 files

91.0

2 files

90.0

2 files

89.0

2 files

88.1

2 files

88.0

2 files

87.0

2 files

86.0

2 files

85.0

2 files

84.0

2 files

83.0

2 files

82.2

2 files

82.1

2 files

82.0

2 files

81.0

2 files

80.0

2 files

79.0

2 files

78.0

2 files

77.0

2 files

76.0

2 files

75.1

2 files

74.0

2 files

73.0

2 files

72.0

2 files

71.0

2 files

70.0

2 files

69.3

3 files

69.2

3 files

69.1

3 files

69.0

3 files

68.0

3 files

67.0

3 files

66.0

3 files

65.0

3 files

64.0

3 files

63.0

3 files

62.0

3 files

61.0

3 files

60.0

3 files

59.0

3 files

58.0

2 files

57.0

2 files

56.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page