Commit cbf38d1
committed
Enhanced test report: file-wise grouping, coverage at top, header display
- Group tests by source file/class: parse TRX TestDefinitions for className,
add ByClass grouping, and render sections as e.g. Contentstack001_LoginTest.cs
with tests listed under each. Fall back to ByAssembly when no class info.
- Show "All files" code coverage at top: move the overall coverage block
(Statements, Branches, Functions, Lines) to appear right after the test
summary so it’s visible without scrolling. Code coverage section below
contains only the per-file table.
- Improve code coverage UI: dedicated All files card with clear labels,
per-file table with caption and improved spacing, and color cues for
low/mid coverage (red/yellow). Table shows File, Statements, Branches,
Functions, Lines, and Uncovered line #s in a clear layout.
- Render request/response headers in a single block: display headers as
"name: value" lines in a <pre> block when tests supply header data,
for a consistent, readable format.1 parent 2932c6c commit cbf38d1
File tree
24 files changed
+4593
-389
lines changed- .github/workflows
- Contentstack.Management.Core.Tests
- IntegrationTest
- Contentstack.Management.Core
- Scripts
- TestResults
- tools/EnhancedTestReport
- sample
24 files changed
+4593
-389
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
Lines changed: 332 additions & 107 deletions
Large diffs are not rendered by default.
Lines changed: 314 additions & 30 deletions
Large diffs are not rendered by default.
Lines changed: 234 additions & 4 deletions
Large diffs are not rendered by default.
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| |||
63 | 70 | | |
64 | 71 | | |
65 | 72 | | |
| 73 | + | |
66 | 74 | | |
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
70 | 78 | | |
71 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
72 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
73 | 86 | | |
74 | 87 | | |
75 | 88 | | |
| |||
916 | 929 | | |
917 | 930 | | |
918 | 931 | | |
| 932 | + | |
919 | 933 | | |
920 | 934 | | |
921 | 935 | | |
| |||
930 | 944 | | |
931 | 945 | | |
932 | 946 | | |
| 947 | + | |
| 948 | + | |
933 | 949 | | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
934 | 953 | | |
| 954 | + | |
| 955 | + | |
935 | 956 | | |
936 | 957 | | |
937 | 958 | | |
938 | 959 | | |
939 | 960 | | |
| 961 | + | |
| 962 | + | |
940 | 963 | | |
941 | 964 | | |
942 | 965 | | |
| |||
0 commit comments