GCC Code Coverage Report


Directory: ../
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 0 / 8 / 8
Functions: -% 0 / 1 / 1
Branches: -% 0 / 12 / 12

test/main.cpp
Line Branch Exec Source
1 // Copyright (c) 2021-2026 ChilliBits. All rights reserved.
2
3 #include "driver/TestDriver.h"
4
5 #include <gtest/gtest.h>
6
7 // GCOV_EXCL_START
8 using namespace spice::testing;
9
10 /**
11 * Entry point to the Spice testing suite
12 *
13 * @param argc Argument count
14 * @param argv Argument vector
15 * @return Return code
16 */
17 int main(int argc, char **argv) {
18 ::testing::InitGoogleTest(&argc, argv);
19 // Initialize command line parser
20 TestDriver driver;
21 driver.createInterface();
22 driver.addOptions();
23 // Parse command line args
24 driver.parse(argc, argv);
25 // Run tests
26 return RUN_ALL_TESTS();
27 }
28
29 // GCOV_EXCL_STOP
30