Skip to content

Tool for combining examples and test cases. Parses markdown files for test steps defined as code blocks and uses these to test command line applications.

Notifications You must be signed in to change notification settings

UpCloudLtd/mdtest

Repository files navigation

mdtest

Tool for combining examples and test cases. Parses markdown files for test steps defined as code blocks and uses these to test command line applications.

Usage

Build binary and test examples:

make
./bin/mdtest examples/

Development

Use conventional commits when committing your changes.

To lint the code, run golangci-lint run. See its documentation for local installation instructions.

golangci-lint run

To test the code, run go test ./....

go test ./...

To build the application and execute the tests in examples/ directory, run:

make
./bin/mdtest examples/

About

Tool for combining examples and test cases. Parses markdown files for test steps defined as code blocks and uses these to test command line applications.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published