Enable Sublime Syntax testing framework

Aperta
#124 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
powershell

Direzione di ricerca

Start with spec/testfiles/syntax_test_TheBigTestFile.ps1 and compare its header and assertion lines with Sublime Text's syntax test format. Review the contribution guidelines for the appropriate location, then run Sublime Text's built-in or headless syntax test runner. Done means the repository tests use a supported format and contributors have instructions for running them.

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

Descrizione

Up-for-Grabs

Please include in your contribution guidelines, instructions on how to run the syntax tests.
I tried using the built in Sublime Text build system for Syntax Tests, and found that the files in this repo are using an invalid format for Sublime Text's test runner.

The header line refers to a scope, but it should be a syntax definition path/file name.
Some test assertion lines contain gaps on the assertions, which are currently not supported in Sublime Text.
image

If this is fixed, it would be possible to use continuous integration with Sublime Text's headless syntax test runner, to verify that PRs have no failing tests.

Lingua principale
PowerShell
Stelle
151
Fork
55
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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.

Altre issue di PowerShell/EditorSyntax

Tutte le issue di PowerShell/EditorSyntax

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.