Azure DevOps Blog

DevOps, Git, and Agile updates from the team building Azure DevOps

Accelerated Continuous Testing with Test Impact Analysis – Part 4

Essential to TIA’s test selection is the map of dynamic dependencies between test methods and source files of code exercised during their execution. TIA needs dependencies mapped in this form: TIA can generate such a dependencies-map for managed code execution. Where such dependencies reside in .cs and .vb files, TIA can automatically ...

Extending MSTest V2

APIs are assets. As developers we learn them, write to them, and – if the API are extensible – we grow them. An extensible API removes barriers to introducing new abstractions closer to our own domains. Once such abstractions are in place, they in turn allow us to work with the underlying framework in a more fluent manner. Extensibility ...

Accelerated Continuous Testing with Test Impact Analysis – Part 3

At its core, TIA collects, and subsequently consults, a map of the dynamic dependencies of each test method as it is executing. As the test method is executing it will cover various methods - the source file in which those methods reside are the dynamic dependencies that get tracked. So, the mapping ends up like the following: and so on...

Visual Studio Team Services demonstrates how Microsoft Loves Java

To demonstrate our continued commitment to support Java developers and their full lifecycle DevOps needs with Visual Studio Team Services (VSTS) and Team Foundation Server (TFS), I want to share some of our recent and exciting Java-related feature announcements. Our teams are working with large and small Java teams every day to better ...

Accelerated Continuous Testing with Test Impact Analysis – Part 2

The previous post introduced how - for a given code commit - TIA will select and run only the relevant tests required to validate that commit. Thus, without sacrificing quality, both the testrun and its enclosing CI definition will complete faster. Here is how that translated to reality for one of our teams: (image) The top graph plots the ...

Visual Studio Test Platform, MSTest V2 – Transparent Development

Transparent development enables collaboration. When we open sourced the Visual Studio Test Platform and the MSTest Test Framework "MSTest V2", we shared out links to issues, implementation and our roadmap. Here are all the links (including links to groomed backlogs and RFCs) for your convenience: Visual Studio Test Platform: Implementation...

Using ‘Visual Studio Agent Deployment’ task on machines not connected to the internet

'Run Functional Tests' (RFT) task is used for running functional tests using remote machines or to run tests in a distributed manner using multiple machines. With TFS 2017 Update 2 and VSTS, You can use "Run Functional Tests" task to run tests using Visual Studio Test Agent 2017. The RFT task needs a companion 'Deploy Test Agent' task that ...

MSTest V2 is open source

As promised, we announced the open sourcing of MSTest Test Framework "MSTest V2". The community now has a fully supported, open source, cross-platform implementation of the MSTest V2 portfolio with which to write tests targeting .NET Framework, .NET Core and ASP.NET Core on Windows, Linux, and Mac. Here are the public repositories on ...

VSTest task dons a new avatar – testing with unified agents and phases

Visual Studio Test (VSTest) and the Run Functional Test (RFT) tasks are used widely for continuous testing with Team Build and Release Management. As we thought about how test execution in the pipeline should evolve the guiding principles were to ensure that test execution in the pipeline is fast and reliable for all types of tests, be it ...