serverless-vscode icon indicating copy to clipboard operation
serverless-vscode copied to clipboard

Add linter, unit tests and automated build (AppVeyor, Travis)

Open HyperBrain opened this issue 8 years ago • 1 comments

The following topics should be resolved

  • [x] TSLint
  • [x] AppVeyor ~~Travis~~ Not important right now as AppVeyor already tests everything
  • [x] Unit tests
  • [ ] Coverage / Coveralls

HyperBrain avatar Dec 26 '17 23:12 HyperBrain

Coverage seems to be a bit complicated, especially to use nyc with the vscode extension testrunner. The problem is, that the testrunner spawns a vscode that runs the units under testing separately, so that nyc cannot do the instrumentation properly. According to multiple sources the only way to get this running is to write a custom testrunner...

HyperBrain avatar Jan 11 '18 20:01 HyperBrain