Skip to content

networkservicemesh/gotestmd

Repository files navigation

gotestmd

Tool to generate go tests based on markdown files.

Usages

Generate suites with default bash runner:

gotestmd INPUT_DIR OUTPUT_DIR

Generate suites that using a custom runner:

gotestmd INPUT_DIR OUTPUT_DIR BASE_PKG

Makrdown syntax

  • #Run - OPTIONAL - Contains any text and bash steps. Can be any level, should be used once in a file.
  • #Cleanup - OPTIONAL - Contains bash steps. Can be any level, should be used once in a file.
  • #Requires - OPTIONAL - Contains a list of required dependencies in format markdown links.
  • #Includes - OPTIONAL -Contains a list of using examples in context of this example in format markdown links.

To generate minimal suite required one of sections: Run or Cleanup or Requires.

Examples

See at examples

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages