Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 760 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 760 Bytes

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/