Skip to content

Running ASP.NET Core integration tests against a real SQL Server db during your CI build.

License

Notifications You must be signed in to change notification settings

joaopgrassi/dockercompose-azdevops

Repository files navigation

Using docker-compose with your ASP.NET + EF Core integration tests

This repo contains the ASP.NET Core app that I use to demonstrate during a series of blog posts I've been writing about integration tests. You can check the series/posts here: Integration tests in ASP.NET Core.

Azure DevOps builds (branch) GitHub Workflow Status (branch)

Requirements

  • Docker
  • .NET Core SDK 5.0.x
  • Some cool terminal

Running the tests locally

  1. Start the Docker container for SQL Server: docker-compose up

  2. Run dotnet test

About

Running ASP.NET Core integration tests against a real SQL Server db during your CI build.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published