SSWConsulting / SSWConsulting/SSW.Website
🧪 Testing - Add Unit Testing
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 14
- Forks
- 10
- Avg merge
- 13h 51m
- Merged PRs (30d)
- 38
Description
Note: Only action once all pages have been migrated
As per my conversation with @wicksipedia, it would be good to add a testing framework (i.e. Jest) to the SSW Website.
Storybook should also be considered alongside Jest to also allow visual testing and a visual database of the components in the project.
### Tasks
- [ ] Investigate whether to add Jest and/or Playwright and/or other testing framework to the project
- [ ] Add the chosen framework
- [ ] Add a way to measure code coverage using these unit testing frameworks
Links:
https://nextjs.org/docs/pages/building-your-application/optimizing/testing#jest-and-react-testing-library
https://storybook.js.org/docs/writing-tests/test-runner
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Wait until all pages have been migrated, then review the linked Next.js and Storybook testing guidance and compare Jest, Playwright, and other candidate frameworks. Decide which framework or combination fits the project, add it, and provide a code-coverage measurement method; completion should satisfy all three listed tasks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs
- Domain
- frontend, testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100