TestCaseElf

Tese cases generating helper tool.


Keywords
test, testing, case, unit, generat
License
MIT
Install
pip install TestCaseElf==0.0.1

Documentation

TestCaseElf

Tese cases generating helper tool

1. Objective

  1. Specific the range of each field and output the product of the test case in a key-value fashion
  2. Ability to chain each combination (In a pipe)

2. Expected Behavior

Using pipeline:

(
    Field(region='Earthman')
    * Field(lastname=['Jackson', 'Gadot'])
    * Field(firstname=['Michael', 'Gal'])
    + Field(age=10)
) -> 
[
   {
      "age":10,
      "firstname":"Michael",
      "lastname":"Jackson",
      "region":"Earthman"
   },
   {
      "age":10,
      "firstname":"Gal",
      "lastname":"Jackson",
      "region":"Earthman"
   },
   {
      "age":10,
      "firstname":"Michael",
      "lastname":"Gadot",
      "region":"Earthman"
   },
   {
      "age":10,
      "firstname":"Gal",
      "lastname":"Gadot",
      "region":"Earthman"
   }
]