microsoft / microsoft/TypeScript-TmLanguage

Allow language tests to be used by other Language extensions

オープン
#714 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Infrastructure Suggestion
主要言語
TypeScript
スター
471
フォーク
149
PR マージ指標
30日以内にマージされた PR はありません

説明

TS and JS Grammar Extension version: 0.0.49 / latest

As a VSCode Programming Language Extension creator I want to test my tmLanguage file using the TypeScript-TmLanguage test suite to ensure my extension supports all future and current TS language use-cases.

I've been building an extension that provides language support for jest spec.tsx/spec.ts files. Since I'm extending from TypeScript-TmLanguage, I'd like to use the snapshot tests in this repo to ensure any TypeScript use-cases are covered.

I made a PR, #713 , to lay the groundwork for that by abstracting the snapshot building process into a class that you can pass general configurations to.

It'd be nice if the testing build helpers and snapshot baselines lived in its own package and could be imported, however not sure the implications of that for ya'll...

Any thoughts?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず PR #713 と既存のスナップショットテストおよびビルドヘルパーを確認します。スナップショットのベースラインとテストヘルパーを、他の言語拡張機能からインポートできるパッケージとして分離する方法を検討し、TypeScriptテストスイートで現在および将来のTypeScriptのユースケースを引き続きカバーできるようにします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
testing
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。