Skip to content

Thorough tests for all types' string parsers#3286

Merged
ptomato merged 1 commit intomainfrom
thorough-parsing-tests
Mar 2, 2026
Merged

Thorough tests for all types' string parsers#3286
ptomato merged 1 commit intomainfrom
thorough-parsing-tests

Conversation

@ptomato
Copy link
Collaborator

@ptomato ptomato commented Feb 27, 2026

Snapshot tests for millions of string inputs to each Temporal type's from() method, covering as many variations of the string format as possible.

@ptomato ptomato requested a review from Ms2ger February 27, 2026 22:09
ptomato added a commit to ptomato/test262 that referenced this pull request Feb 27, 2026
I've replaced these string parsing tests with more thorough snapshotting
tests in proposal-temporal:
tc39/proposal-temporal#3286

I'll run those against each implementation to find out any remaining
implementation divergences, and add more targeted tests to test262
covering any that I find. But for the time being, it doesn't make sense
to keep these here.

Supersedes tc39#4286.
@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.39%. Comparing base (fe209c8) to head (16e92fb).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3286   +/-   ##
=======================================
  Coverage   97.39%   97.39%           
=======================================
  Files          22       22           
  Lines       10766    10766           
  Branches     1865     1865           
=======================================
  Hits        10486    10486           
  Misses        258      258           
  Partials       22       22           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Ms2ger pushed a commit to ptomato/test262 that referenced this pull request Mar 2, 2026
I've replaced these string parsing tests with more thorough snapshotting
tests in proposal-temporal:
tc39/proposal-temporal#3286

I'll run those against each implementation to find out any remaining
implementation divergences, and add more targeted tests to test262
covering any that I find. But for the time being, it doesn't make sense
to keep these here.

Supersedes tc39#4286.
Ms2ger pushed a commit to tc39/test262 that referenced this pull request Mar 2, 2026
I've replaced these string parsing tests with more thorough snapshotting
tests in proposal-temporal:
tc39/proposal-temporal#3286

I'll run those against each implementation to find out any remaining
implementation divergences, and add more targeted tests to test262
covering any that I find. But for the time being, it doesn't make sense
to keep these here.

Supersedes #4286.
Snapshot tests for millions of string inputs to each Temporal type's
from() method, covering as many variations of the string format as
possible.
@ptomato ptomato force-pushed the thorough-parsing-tests branch from 9d790fe to 16e92fb Compare March 2, 2026 19:52
@ptomato ptomato merged commit 465a098 into main Mar 2, 2026
6 checks passed
@ptomato ptomato deleted the thorough-parsing-tests branch March 2, 2026 20:10
jessealama pushed a commit to jessealama/test262 that referenced this pull request Mar 3, 2026
I've replaced these string parsing tests with more thorough snapshotting
tests in proposal-temporal:
tc39/proposal-temporal#3286

I'll run those against each implementation to find out any remaining
implementation divergences, and add more targeted tests to test262
covering any that I find. But for the time being, it doesn't make sense
to keep these here.

Supersedes tc39#4286.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants