# README
Some machine tools
"Expect"
This tool facilitates Machine Spec testing.
See the godoc for Session
, and see ../cmd/mexpect.
Generate a Graphviz dot file for a spec
See dot.go
.
Analyze a spec
See analyze.go
and analyze_test.go
.
Render a spec as HTML
See spec-html*.*
.
Usage
Copy spec-html.js
and spec-html.css
to ../cmd/mcrew/httpfies
.
Then run mcrew
:
mcrew -h :9050 -f cmd/mcrew/httpfiles/
Then try http://localhost:9050/specs/double.html
.
# Packages
Package expect is a tool for testing machine specifications.
# Functions
No description provided by the author
Dot makes a Graphviz dot file for the given machine.
Inline replaces '%inline("NAME")' with f(NAME).
Mermaid makes a Mermaid (https://mermaidjs.github.io/) input file for the given graph.
PNG generates a PNG image based on output from Dot.
ReadFileWithInlines is a replacement for ioutil.ReadAll that adds automation Inline()ing based on the given directory.
No description provided by the author
ReadFileWithInlines is a replacement for ioutil.ReadFile that adds automation Inline()ing based on the directory obtained from the filename.
No description provided by the author
No description provided by the author