brittle icon indicating copy to clipboard operation
brittle copied to clipboard

Create a VS Code test provider

Open voxpelli opened this issue 4 years ago • 4 comments

Just adding here to keep track of this request. I may perhaps be able to contribute this eventually. Been wanting to make a VS Code extension for some time.

Links:

  • Relevant documentation: https://code.visualstudio.com/api/extension-guides/testing
  • Example provider: https://github.com/microsoft/vscode-selfhost-test-provider
  • Relevant vscode issue: https://github.com/microsoft/vscode/issues/107467
  • Related Twitter discussion: https://twitter.com/voxpelli/status/1465693796960665614?s=20

voxpelli avatar Nov 30 '21 14:11 voxpelli

If this is meant to replicate https://node-tap.org/docs/watch/ then I would not want it to be a VSCode extension exclusively. I would want the test runner to support it natively.

jsumners avatar Nov 30 '21 14:11 jsumners

If this is meant to replicate https://node-tap.org/docs/watch/ then I would not want it to be a VSCode extension exclusively. I would want the test runner to support it natively.

Absolute, I meant it as a complement

voxpelli avatar Nov 30 '21 15:11 voxpelli

brittle -w is already supported https://github.com/davidmarkclements/brittle#runner

A VS Code integration would be awesome, I think it should probably be a different repo.

If you were to create it I'd happily create an org and put both this repo and your repo into it.

davidmarkclements avatar Dec 03 '21 13:12 davidmarkclements

A VS Code integration would be awesome, I think it should probably be a different repo.

Totally agree, created this here to keep track of the idea / request, when I or someone else get time for it, then it should totally be its own repo

voxpelli avatar Dec 03 '21 14:12 voxpelli