first level testing for rending v3 model in place.

Now onto some hardening tests, lets re-render each spec after reading to check for failures.
This commit is contained in:
Dave Shanley
2023-03-14 06:35:00 -04:00
parent 162d62a229
commit 5d7f22fca7
25 changed files with 417 additions and 265 deletions

View File

@@ -25,7 +25,7 @@ func TestCreateSummary_OverallReport(t *testing.T) {
changes := createDiff()
report := CreateOverallReport(changes)
assert.Equal(t, 1, report.ChangeReport[v3.InfoLabel].Total)
assert.Equal(t, 38, report.ChangeReport[v3.PathsLabel].Total)
assert.Equal(t, 43, report.ChangeReport[v3.PathsLabel].Total)
assert.Equal(t, 9, report.ChangeReport[v3.PathsLabel].Breaking)
assert.Equal(t, 3, report.ChangeReport[v3.TagsLabel].Total)
assert.Equal(t, 1, report.ChangeReport[v3.ExternalDocsLabel].Total)