Skip to content

Commit ad60a4f

Browse files
committed
Add unit test for buildHtml function
1 parent 68d13d8 commit ad60a4f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/test/suite/testCoverage.test.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import { join } from "path";
44
import {
55
getGcovExecutable,
66
buildJson,
7-
getGcovFilterPaths
7+
getGcovFilterPaths,
8+
buildHtml
89
} from "../../coverage/coverageService";
910
import { readParameter } from "../../idfConfiguration";
1011

@@ -34,4 +35,10 @@ suite("Test Coverage Unit Tests", () => {
3435
assert.ok(parsedResult.files);
3536
assert.ok(parsedResult["gcovr/format_version"]);
3637
})
38+
39+
test("buildHtml", async () => {
40+
const result = await buildHtml(workspace);
41+
console.log("RADU result", typeof result);
42+
assert.equal("", result);
43+
})
3744
});

0 commit comments

Comments
 (0)