State transition testing helper
Use config (examples), run as command or run as django-command.
Installation
pip install git+https://github.com/pefremova/stchecklly.git
For Django:
add 'stchecklly' to INSTALLED_APPS for use as django-command (by manage.py state_checker)
Features
- generate list of available transitions with given length
- show diagram (use graphviz)
Output example
state_checker -c config.py -v 2
[create, approve]
********************
start state: None
create (next state: created)
approve (next state: approve)
********************
[create, delete]
********************
start state: None
create (next state: created)
delete (next state: deleted)
********************