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)
# ('keegan', 'male', 18)
# ('keegan', '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.5.zip (4.6 kB view hashes)

Uploaded Source

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