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

Review test coverage and augment / strategize as needed. #85

Open
zenlex opened this issue Jun 26, 2022 · 2 comments
Open

Review test coverage and augment / strategize as needed. #85

zenlex opened this issue Jun 26, 2022 · 2 comments
Assignees
Labels
ci/cd infrastructure / automation enhancement New feature or request qa/testing

Comments

@zenlex
Copy link
Collaborator

zenlex commented Jun 26, 2022

Don't think there'll be much logic to unit-test here. I'd like to see some component tests for our markdown translation and some basic UI e2e test suites to handle automating regression testing in the future.

@zenlex zenlex self-assigned this Jun 26, 2022
@zenlex
Copy link
Collaborator Author

zenlex commented Oct 22, 2022

Test coverage initial goals (will take Techlahoma Hacktoberfest PR for each task)

Browser Tests:

  • Blog index route loads and shows blog card components
  • Blog post route loads and displays a post
  • Blog index next and prev buttons work
  • Blog index does not create card for empty or malformatted blog object
  • Events index route loads and shows event card components
  • Event detail loads and displays an event page
  • Event index next and prev buttons work
  • Event index route does not create card for empty or malformatted event object
  • Connections page loads and shows links to meetup, slack, github, and twitter
  • Projects index page loads and shows project carousel
  • Project index does not create card for empty or malformatted project object

Component Tests:

  • Blog index card correctly displays blog metadata
  • Event index card correctly displays event data
  • Project card correctly displays project data with clickable links
  • Nav menu collapses to hamburger correctly on mobile
  • Dark / light mode toggles work on all components

Unit/Feature tests

  • Markdown Blog files parsed into blog posts correctly
  • Markdown blog files parsed into blog index cards correctly
  • Markdown Event files parsed into event pages correctly
  • Markdown Event files parsed into event index cards correctly
  • Markdown Project files (repo readmes) parsed into Project cards correctly

Integration Tests:

  • Build step fetch of project data from CFT Project repo readme.md files
  • Meetup data fetch for events
  • Twitter data fetch for widget

@laylark
Copy link
Contributor

laylark commented Oct 24, 2022

I'll work on some of the blog browser tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd infrastructure / automation enhancement New feature or request qa/testing
Projects
Status: Selected for Development
Development

No branches or pull requests

2 participants