mirror of
https://github.com/dtomlinson91/tembo.git
synced 2025-12-22 10:05:49 +00:00
40 lines
654 B
Markdown
40 lines
654 B
Markdown
# 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
|