oppia / oppia/oppia-web-developer-docs

Clarify Instructions for Debugging a Specific Unit Test

Open
#454 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Impact: High Work: Low
Dominant language
Python
Stars
18
Forks
133
PR merge metrics
No merged PRs in 30d

Description

The frontend testing guide under "Tips for speeding things up" instructs to replace the regex in combined-tests.spec.ts to debug a specific unit test but lacks an example. This makes it unclear how to modify the require.context line in combined-tests.spec.ts.

Link to the doc - Oppia frontend testing wiki

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the linked Oppia frontend testing wiki and locate the “Tips for speeding things up” section; then inspect combined-tests.spec.ts and its require.context line. Add a concrete example showing how to modify the regex to debug one unit test, and verify that the revised instruction is clear and accurate.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation, testing
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.