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.

Filename, size & hash SHA256 hash help File type Python version Upload date
cases-0.1.13.zip (4.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page