jincod / dotnetcore-buildpack

Heroku .NET Core Buildpack
MIT License
750 stars 360 forks source link

Add support for running `dotnet test` just before dotnet publish #143

Open dpozimski opened 3 years ago

dpozimski commented 3 years ago

Would be awesome if developer can configure build pack to run unit tests (by specifying a pattern for unit tests project search) just before app publish to the heroku. Currently It can be done via external CI step.

jincod commented 3 years ago

Hello @dpozimski,

I think the best place for dotnet test is a step at Heroku CI.

We already have a PR https://github.com/jincod/dotnetcore-buildpack/pull/77 but it hasn't been tested yet.