Category Archives: Visual Studio Team Services

A Quality Gate Dashboard Widget for VSTS

In a previous post we figured out how we could work with SonarQube Quality Gates in a JavaScript build on VSTS. For regular VSTS builds (based on MSBuild that is) Sonar provides an excellent extension that enables several goodies including a “Publish Quality Gate Result” build task. Unfortunately this task requires MSBuild to function correctly and our usual client side/

Read more

SonarQube Quality Gates and VSTS builds

SonarQube includes the concept of quality gates and these gates allow you to answer questions about the quality of the code being analyzed. They come as sets of Boolean conditions and can be based on the usual Sonar metrics including blocker issues, code coverage on new code, reliability rating, etc. Here are the default settings: More info here: https://blog.sonarsource.com/quality-gates-shall-your-projects-pass Based

Read more

JavaScript Unit Tests with Visual Studio Team Services

TL;DR: JavaScript Unit Testing with VSTS using real browsers. We would like to run JavaScript unit tests; And we prefer a real browser for this, so no PhantomJS or equivalent; And run our tests from a Visual Studio Team Services build; VSTS hosted build agents don’t have Chrome or Firefox installed; So things break; We fix this by providing a

Read more