Ancora.Parser (ancora v1.0.0-rc.1)

Copy Markdown View Source

Parses .spec/specs/*.spec.md files.

parse_file/2 is a semver-stable public function. Its return shape is a map with string keys "file", "title", "meta", "requirements", "scenarios", "verification", "exceptions", "parse_errors", and "findings". That shape is unchanged within a major version.

README documentation of this commitment lands at publish (L12); the commitment is recorded here.

Summary

Functions

Parses a spec file at path relative to root.

Functions

parse_file(path, root)

@spec parse_file(Path.t(), Path.t()) :: map()

Parses a spec file at path relative to root.

This function is semver-stable public API.