Protractor Test Runner is a VS Code extension which enables you to right-click on a .ts file and test it with Protractor.
It assumes you have Protractor installed (http://www.protractortest.org) and this extension is ran in context of a project that has protractor test files. It can be tested with "Angular 2 Starter kit" (https://github.com/AngularClass/angular2-webpack-starter).
- In VS Code project explorer, right click on a .ts file and choose option
Protractor: Run test(s)
. - Press
F1
and select the command with title:Protractor: Run test(s)
. This will run Protractor on selected typescript file.
- Press Ctrl+F1 or Cmd+F1 (on Mac) to show the Protractor Runner Log.
- Press
F1
and select the command with title:Protractor: Show runner log
.
Press Ctrl+P
and enter command ext install protractor-test-runner
.
You can submit your issues and feature requests on GitHub issues page.
It contains code from https://github.com/bbenoist/vscode-shell.