forcedotcom / forcedotcom/b2b-commerce-on-lightning-quickstart

Provide Apex unit tests for the Apex used by the LWC reference components

Open
#12 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
191
Forks
211
PR merge metrics
No merged PRs in 30d

Description

Currently https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/tree/master/examples/lwc/force-app/main/default/classes has no unit tests.

With the recommended pattern being to copy the reference component code as a starting point when customization is needed, it would be useful for the Apex unit tests to be included as a starting point to be copied.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Apex classes in examples/lwc/force-app/main/default/classes and the related LWC reference components. Add unit tests for the Apex used by those components, with coverage sufficient for the reference behavior, then run the repository's Apex test suite to verify the tests pass.

Written by the indexing model from the issue text.

Assessment

Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.