Skip to content

Incorporate documentation command testing #36

Description

@briandominick

Use the Sourcerer module (currently in ReleaseHx but to be released as its own gem) to test commands in the docs.

In .adoc files, add [.testable] role to literalblocks that are meant to be run exactly as displayed, in an environment that follows from the sequence of commands before it, assuming bundle install up front.

Then add to Rakefile a task :readme_test like those in releasehx and releasehx-demo (neither yet updated as of time of this posting).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

automationUsually internal/dev-facing change that improves CI/CD, testing, etc.internalNon user-facing code changes. Dev-facing only.type:featureA new feature or functionality to add.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions