microsoft / microsoft/TypeScript

test-262 integration

Aperta
#32,954 14 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Experience Enhancement Suggestion
Lingua principale
Go
Stelle
111k
Fork
14.3k
Merge medio
2g 4h
PR unite (30g)
132

Descrizione

Search Terms

test-262, test262

Suggestion

Run test-262 on TS downlevel

Use Cases

What do you want to use this for?

  • Verify that downleveling is spec-compliant to avoid issues when changing the test target.

  • Possible benefits for TS team:

    • Reduce triage overhead by catching semantic errors quickly
    • Reduce duplicate effort by putting creative testing work into the test-262 project

Examples

gulp runtests  # runs relevant test-262 tests

Checklist

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con il progetto test-262 collegato nell’issue e con l’entry point esistente gulp runtests. Determina come selezionare ed eseguire i test test-262 rilevanti sull’output downlevel di TypeScript. Il lavoro è completato quando l’integrazione viene eseguita correttamente e può verificare il comportamento downlevel rispetto alla suite test-262.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, typescript
Ambito
compilers, testing-qa
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.