Skip to main content

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


Download files

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

Source Distribution

combinatorial_tests_agragland-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

combinatorial_tests_agragland-0.0.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file combinatorial_tests_agragland-0.0.1.tar.gz.

File metadata

  • Download URL: combinatorial_tests_agragland-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.1

File hashes

Hashes for combinatorial_tests_agragland-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c6e866c7425d7fb3f7f9eefdc0ccf26d58fc5869ec701fcacbdf5504902d19dd
MD5 8062ec2cde50f81bf90f9ac7234b0d31
BLAKE2b-256 2f8ba733c77e35fe1abe916940007abeda1e203e8a7557a6179ef1ba8712b197

See more details on using hashes here.

File details

Details for the file combinatorial_tests_agragland-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: combinatorial_tests_agragland-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.1

File hashes

Hashes for combinatorial_tests_agragland-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad72c697d42efd1fdf792399c30d5514df49017e6b614656a2083ef36a0a498b
MD5 c28484d1bfe049890cb204ab6e1b2331
BLAKE2b-256 cc56216f5fce9ea38a666876c012353040bfbfe2dc157b268a1508207dc7e51e

See more details on using hashes here.

Supported by

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