Creates combinatorial test suites
Project description
Combinatorial Testing Package
This package allows a user to input a list of n factors and k levels with a coverage strength value t to create an optimal suite of tests that can be run.
Primary Function
To import the package once installed, use:
import comb_testing
Once imported, the primary function to use is called using:
comb_testing.greedy_algorithm(<list>, <strength>)
Where <list>
is the N x k list of factors and levels and <strength>
is the t value
Covering Array Generation
If there is no predetermined list, this package features a function to generate a covering array based on a regex string
The function can be called using:
comb_testing.generate_covering_array("<regex>")
The value of <regex>
will be a string with the following format: "<N>^<k> <N>^<k> ..."
An example of this function to generate a covering array with 4 factors and 3 levels would be:
covering_arr = comb_testing.generate_covering_array("3^4")
In this example, the result is stored in covering_arr
and can be iterated over like any other list
Project details
Release history Release notifications | RSS feed
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
Hashes for combinatorial_tests_agragland-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6e866c7425d7fb3f7f9eefdc0ccf26d58fc5869ec701fcacbdf5504902d19dd |
|
MD5 | 8062ec2cde50f81bf90f9ac7234b0d31 |
|
BLAKE2b-256 | 2f8ba733c77e35fe1abe916940007abeda1e203e8a7557a6179ef1ba8712b197 |
Hashes for combinatorial_tests_agragland-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad72c697d42efd1fdf792399c30d5514df49017e6b614656a2083ef36a0a498b |
|
MD5 | c28484d1bfe049890cb204ab6e1b2331 |
|
BLAKE2b-256 | cc56216f5fce9ea38a666876c012353040bfbfe2dc157b268a1508207dc7e51e |