Files
tembo/dev/notes/test.md
2021-11-01 00:41:01 +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 is None

  • page using/not using input tokens

  • user input does not match number of input tokens

    • no user input
    • mismatched user input
    • with/without example
  • page using/not using date tokens

  • page using/not using name tokens

  • dry run

  • path/page filenames can contain spaces and they are converted

tests done

  • page with/without a template
  • the given base path does not exist
  • the given template file does not exist
  • page already exists