Łukasz Kurzyniec.pl
Łukasz Kurzyniec.pl
I have tried the solution suggested by @joemey and it works, but only for `json`, but it does not for `opencover`. For this command `dotnet test /p:CollectCoverage=true /p:CoverletOutput="../coverage.json" /p:MergeWith="../coverage.json" /maxcpucount:1...
Unfortunately, it doesn't work ``` λ dotnet test /p:CollectCoverage=true /p:CoverletOutput="../coverage.json" /p:MergeWith="../coverage.json" /maxcpucount:1 /p:CoverletOutputFormat=\"json,opencover\" Test run for C:\GIT\netcore-boilerplate\test\HappyCode.NetCoreBoilerplate.Api.IntegrationTests\bin\Debug\netcoreapp3.1\HappyCode.NetCoreBoilerplate.Api.IntegrationTests.dll(.NETCoreApp,Version=v3.1) Microsoft (R) Test Execution Command Line Tool Version 16.3.0 Copyright (c) Microsoft Corporation....
@MarcoRossignoli That works fine! In my case, it gives me solution wide results. ### Summary cmd command ```batchfile dotnet test /p:CollectCoverage=true /p:CoverletOutput="../" /p:MergeWith="../coverage.json" /maxcpucount:1 /p:CoverletOutputFormat=\"json,opencover\" ``` gives me the same...
@robertlarkins my suggestion would be to read both this [article](https://github.com/tonerdo/coverlet/blob/master/Documentation/Examples/MSBuild/MergeWith/HowTo.md) and whole this thread. Then try to achieve solution-wide results locally. After that move your solution to Azure DevOps.
my callstack ``` ... 127.0.0.1 - - [29/Aug/2022 15:18:56] "GET /static/js/selectize.js HTTP/1.1" 304 - [2022-08-29 15:19:13,783] ERROR in app: Exception on /graph.svg [GET] Traceback (most recent call last): File "/mnt/c/git/proj1/venv/lib/python3.8/site-packages/blastradius/handlers/dot.py",...
It is possible, here you are examples: https://github.com/microsoft/sql-server-samples/tree/master/samples/containers And also my example, IMHO much more straight forward: https://github.com/lkurzyniec/netcore-boilerplate docker-compose ```yaml version: "3.6" services: mssql: image: mcr.microsoft.com/mssql/server:2017-latest container_name: mssql command: /bin/bash...
There could be a bug in .net 5 sdk https://github.com/dotnet/sdk/issues/14711
hey @shiftkey, are you able to check and merge this?
@ben-burton could you write your solution here? I can't figure out how to properly register and inject custom `ICircuitBreaker`.
@martincostello I don't want to unit test policy itself. I would like to test my business code properly that's relay on policy. When I can't mock ie `breaker.CircuitState` then I...