Skip to main content

Test cases generation tool

Project description

Cases

Cases is a test cases generation tool.

Possible options:
  • “each choice” cases

  • “pairwise” cases

  • “negative” cases

Installation

Install with pip:

pip install cases

Install with setup.py:

python setup.py install

Example

from cases import Cases

cases = Cases()

each_choice_cases = cases.get_each_choice(
    username = ('adaline', 'keegan'),
    gender = ('male', 'female'),
    age = (1, 17, 18, 122) # 122 - oldest person by Guinness World Records
)

for case in each_choice_cases:
    print(case.username, case.gender, case.age)

# ('adaline', 'male', 1)
# ('keegan', 'female', 17)
# ('adaline', 'male', 18)
# ('adaline', 'male', 122)

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

cases-0.1.13.zip (4.8 kB view details)

Uploaded Source

File details

Details for the file cases-0.1.13.zip.

File metadata

  • Download URL: cases-0.1.13.zip
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cases-0.1.13.zip
Algorithm Hash digest
SHA256 ef09246bdcc780f7ff3a8ea993eefd8fbc6caa31149e7b48fd9fefb90c9db5c1
MD5 0d19479dac7268a74f849c28ad234ad7
BLAKE2b-256 11a77a43dbff35be473254c6d5fef8b9b6e5b83b9d9f49aaa49b5885e3839620

See more details on using hashes here.

Supported by

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