Running your unit tests with Visual Studio Team Services and Docker Compose

Photo by Glenn Carstens-Peters on Unsplash

Unit tests

FROM microsoft/dotnet:2.0-sdk-jessie AS buildCOPY . ./appWORKDIR /app/tests/VstsDockerBuild.TestsRUN dotnet restore
The “unit test” task configuration in VSTS
Whoops, something went wrong! #totallyintentional
Photo by on Unsplash




Software developer, mountain biker,

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Resolve Dependencies using MEF and built-in IoC container of ASP.NET Core

Six Deployment Strategies

Programming Languages in-demand for developing Blockchain & Cryptocurrency Applications

Server CA authority in client container

Testing software — a practical guide to write tests for machine learning pipelines

Kubernetes: part 2 — a cluster set up on AWS with AWS cloud-provider and AWS LoadBalancer

Large Scale Cloud Infrastructure Migration: Eyeview’s Journey into VPC

Fig. 1. An early, simplified version of our network diagram

Creating Spring Boot Microservices , Monitoring with prometheus and grafana and log aggregation…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Christian Sparre

Christian Sparre

Software developer, mountain biker,

More from Medium

Install Postgresql 13 on RHEL 8. Configure scram-sha-256 password authentication.

Null values in PostgreSQL

How to Analyze slow performing Git Repos

Connect DataGrip to Dockerized MySQL Container