dotnet / dotnet/iot

Failing unit tests might not print the output

Open
#798 2 comments 0 reactions 0 assignees View on GitHub
area-infrastructure bug Priority:3 tracking-external-issue
Dominant language
C#
Stars
2.4k
Forks
630
Avg merge
11d 3h
Merged PRs (30d)
2

Description

FYI in case someone hits this.

After merging https://github.com/dotnet/iot/pull/789 build.cmd/build.sh will run unit tests as part of the build but unfortunately due to bug in VSTest the output most of the time will not get printed (depends which worker picks up the job).

This is causing that if any of the unit test fails the output might not get printed and it's hard to diagnose what went wrong. Most of the time just passing `-v d` will fix the issue. Using `dotnet test` directly on the project always prints the output correctly.

VSTest issue: https://github.com/microsoft/vstest/issues/2224

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.