choojs / choojs/create-choo-app

Testing

Open
#26 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
180
Forks
30
PR merge metrics
No merged PRs in 30d

Description

We should have a proper testing strategy. There's probably a few things we should do:
- [ ] test stores in Node
- [ ] test component lifecycles
- [ ] assert rendering works for views

Possibly bonus:
- [ ] test service workers with [sw-test-env](https://github.com/popeindustries/sw-test-env)
- [ ] snapshot testing components

We might need to write some packages to wrap this up nicely.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by breaking the proposed testing strategy into separate scopes: Node stores, component lifecycles, view rendering, service workers, and snapshot testing. Identify the relevant stores, components, views, and existing test entry points before choosing a package approach; the work is done when the agreed checklist has reliable coverage and its test setup is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
frontend, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.