Skip to content

Allow language tests to be used by other Language extensions #714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dplain90 opened this issue Jan 24, 2019 · 0 comments
Open

Allow language tests to be used by other Language extensions #714

dplain90 opened this issue Jan 24, 2019 · 0 comments

Comments

@dplain90
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants