View Source Comtile38.Command.DocTest (Comtile38 v0.0.1)

Module that contains every doctest for commands. They will be included both in the tests and in the documentation for each command function.

Link to this section Summary

Functions

Function that returns the doctests for the command described with the given canonical_command_name.

Link to this section Functions

Link to this function

tests(canonical_command_name)

View Source

Function that returns the doctests for the command described with the given canonical_command_name.

Each command can define a body of this function. By convention, the argument must must be the canonical name of the command.

When no doctest is found, it returns nil.