Commit 3393a8a
authored
[vs17.14] Add test summary always in terminal logger (#12852)
**Description**
Running tests with dotnet test, users see inconsistent number of
projects and tests reported in the view. This is a UI only issue,
failing tests will still fail the build. It is still worth fixing the
issue because it makes the runs show repeatable numbers of tests to the
user.
The terminal node can be null before we receive the finish message. This
will cause that some summaries are not accounted for and will be missing
in the final output.
The node is null for this reason:
#12819 That fix is not
backported.
**Customer Impact:** Multiple runs of the same test suite report
different total counts of tests and projects.
**Regression?** No, this was never working correctly since the beginning
of test reporting in Terminal Logger.
**Risk:** Low, it impacts UI only.
Link the PR to the original issue and to the PR to main.
PR to main is merged: #12801
Fixes microsoft/vstest#15307
No additional impact on packages or localization.1 parent ee6457a commit 3393a8a
File tree
2 files changed
+19
-11
lines changed- eng
- src/Build/Logging/TerminalLogger
2 files changed
+19
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
906 | 906 | | |
907 | 907 | | |
908 | 908 | | |
909 | | - | |
| 909 | + | |
910 | 910 | | |
911 | 911 | | |
912 | | - | |
| 912 | + | |
913 | 913 | | |
914 | 914 | | |
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
918 | | - | |
919 | | - | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
920 | 926 | | |
921 | | - | |
922 | | - | |
923 | 927 | | |
924 | 928 | | |
925 | 929 | | |
926 | 930 | | |
927 | 931 | | |
928 | | - | |
929 | | - | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
930 | 940 | | |
931 | | - | |
932 | | - | |
933 | 941 | | |
934 | 942 | | |
935 | 943 | | |
| |||
0 commit comments