Skip to content

pefremova/stchecklly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Status checker

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)
********************

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages