Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨Feature Request - generate flow charts from test scenarios #18

Open
briantist opened this issue Feb 26, 2023 · 3 comments
Open

✨Feature Request - generate flow charts from test scenarios #18

briantist opened this issue Feb 26, 2023 · 3 comments

Comments

@briantist
Copy link

This is kind of a half-baked idea, but monkeyble seems uniquely positioned to generate a flow chart of a play/playbook/role, which could be a really nice addition to role documentation and such.

It could use Mermaid syntax, use the task names, represent looping and branching and such?
So maybe for example, you run several scenarios against a specific role or playbook, and a result a flowchart can be generated that shows various paths through the role.

An example of mermaid (quote or edit this post to see the syntax, better examples are out there):

graph TD
    A[Thievery] -->|Get money| B(Go shopping)
    B --> C{Let me think}
    C -->|One| D[Laptop]
    C -->|Two| E[iPhone]
    C -->|Three| F[fa:fa-car Car]
Loading
@Sispheor
Copy link
Contributor

What about this project?

@briantist
Copy link
Author

Hadn't seen that before, thanks! Unfortunately it seems to only generate images which aren't as useful imo, but maybe that project could be used together with monkeyble in the future:

@rndmh3ro
Copy link
Contributor

rndmh3ro commented Mar 8, 2023

@briantist, you could also take a look at this project: https://github.com/teramako/playbook2uml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants