Skip to content

Test suite #44

@Descent098

Description

@Descent098

Test list

  • CLI tests
    • init()
      • With name provided and not
      • With theme provided and not
      • without name and theme
      • with name and theme
      • with theme that doesn't exists
      • with theme that is remote
      • with theme that is local
      • with theme included
    • section()
    • theme()
  • core tests
    • generate site with all defaults
    • Generate site with each specific keyword variable defined
    • check the content.get_content_directories() function explicitly
    • Make sure to test 1 of each section
    • Test with no sections
    • test with a section that has content but no template file
    • test with a section that has template file but no content
    • also test gallery sections with each extension (".jpg", ".png", ".jpeg", ".gif", ".svg", ".webp", ".apng", ".jfif", ".pjpeg", ".pjp") and nonexistant extensions
    • Also check exif data parsing
    • test resume generation
  • Themes tests
    • That the projects exits when a required_config is not provided

Notes

  • Core tests will also cover the Content types and adding filters
  • Autoreload, and the main cli entrypoint cannot be tested
  • testing just covers that the expected files/sections are produced not for their accuracy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    To do (0.3.4)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions