Files
tembo/dev/notes/test.md
2021-11-01 01:34:41 +00:00

654 B

testing notes

options

optional:

  • user_input
  • example
  • template_filename
  • template_path

required:

  • base_path
  • page_path
  • filename
  • extension
  • name

tests to write

  • user input does not match number of input tokens

    • no user input
    • mismatched user input
    • with/without example
  • dry run

tests done

  • path/page filenames can contain spaces and they are converted
  • user input is None
  • page using/not using input tokens
  • page using/not using date tokens
  • page using/not using name tokens
  • page with/without a template
  • the given base path does not exist
  • the given template file does not exist
  • page already exists