Potentially import more JSON tests
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 564
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 10
Description
@nst has written a a nice JSON testsuite; this targets RFC 7159's definition of JSON rather than ECMA-404's, and obviously many tests don't apply given the source for JSON.parse is a string primitive rather than a bunch of bytes. We should, nevertheless, check that we have coverage for all of their tests that apply.
Contributor guide
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 linked JSONTestSuite and comparing its applicable cases with the existing JSON.parse coverage in test262. Determine which byte-oriented cases do not apply to string primitives; done when every applicable JSONTestSuite case is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100