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 setup.py:
python setup.py install
Install with pip:
pip install git+https://github.com/pavetok/cases.git
Example
=======
```python
from cases import get_each_choice_cases
each_choice_cases = get_each_choice_cases(
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)
```
=====
Cases is a test cases generation tool.
Possible options:
* "each choice" cases
* "pairwise" cases
* "negative" cases
Installation
============
Install with setup.py:
python setup.py install
Install with pip:
pip install git+https://github.com/pavetok/cases.git
Example
=======
```python
from cases import get_each_choice_cases
each_choice_cases = get_each_choice_cases(
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
Release history Release notifications | RSS feed
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.zip
(4.1 kB
view hashes)