oppia / oppia/oppia-web-developer-docs
Create Tutorial - How to write frontend unit tests.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 18
- Forks
- 133
- PR merge metrics
- No merged PRs in 30d
Description
Skills covered
TypeScript, Writing unit tests to cover all the known corner cases, Running unit tests.
Similar issues
Existing relevant pages
https://github.com/oppia/oppia/wiki/Frontend-tests
Example
Write a git patch file to remove some of the existing tests of Html-length-service file.
Scenario: You have just written code for an html-length-service file and now you need to write unit tests to cover your code. Understand the code first, try to think of general cases and then corner cases. Make sure it follows the best practices and tests running them in your local machine.
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
Start by reviewing the existing Frontend-tests wiki page and the Html-length-service example named in the issue. Create a tutorial covering TypeScript frontend unit tests, general and corner-case coverage, and running tests locally; it is done when these topics and the stated example are clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation, testing
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100