Louisp78 / TestMaster

My personnal master testsuite in python, only for fonctionnal tests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🧪 TestMaster

My personnal master testsuite in python, only for fonctionnal tests.

Small setup

Use python3.
Install all modules with:

pip install -r requirements.txt

To add tests use tests.yaml file. Find the synthax in wiki. Example of tests.yaml file:

- name: "Basic echo tests"
  baseInput: "echo"
  tests:
    - name: "hello_test"
      input: "hello"
      exp_out: "hello\n"
    - name: "good_test"
      input: "good"
      exp_out: "good\n"

- name: "Basic cat from files"
  baseInput: "cat"
  tests_from_folder: "./tests/"

testsuite.py can take arguments. To see all available arguments got to wiki or :

python3 testsuite.py --help 

Enjoy !

alt text

About

My personnal master testsuite in python, only for fonctionnal tests.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%