Tool to generate go tests based on markdown files.
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
#Run
- OPTIONAL - Contains any text andbash
steps. Can be any level, should be used once in a file.#Cleanup
- OPTIONAL - Containsbash
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
.
See at examples