Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite #44

Open
25 tasks
Descent098 opened this issue May 21, 2022 · 0 comments
Open
25 tasks

Test suite #44

Descent098 opened this issue May 21, 2022 · 0 comments
Projects

Comments

@Descent098
Copy link
Owner

Descent098 commented May 21, 2022

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
@Descent098 Descent098 created this issue from a note in V0.3.x (To do (0.3.4)) May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
V0.3.x
To do (0.3.4)
Status: To do (0.3.4)
Development

No branches or pull requests

1 participant