A simple tool for testing
Project description
A command line function tester
litio
how to use
example 1:
python3 -m litio -c litio-config.yml
litio-config.yml:
name: My Awesome Title
tests:
firsth-test: # test name
path: ./tests/test1.py # path to python file
functions: # functions list
- pow: # function name
inputs: # inputs
# arguments with name of parameters
base: 2
exponent: 2
expected:
value: 4 # expected value
comparator: Equals
print-return: true # print returned value by function
test1.py:
def pow(base, exponent):
return base**exponent
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
litio-1.0.0.1.tar.gz
(17.3 kB
view hashes)
Built Distribution
litio-1.0.0.1-py3-none-any.whl
(17.0 kB
view hashes)