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.

Files for cases, version 0.1.13
Filename, size File type Python version Upload date Hashes
Filename, size cases-0.1.13.zip (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page