Branch data Line data Source code
1 : : #include "sute.h"
2 : :
3 : : int test_main(
4 : : int,
5 : : char **);
6 : :
7 : : /**
8 : : * @brief Run the top-level test suite executable
9 : : *
10 : : * @return Process exit status produced by the test runner macros
11 : : */
12 : 1 : int main(void)
13 : : {
14 : 1 : SUTESTART;
15 : :
16 : 1 : testitall_set_test_main(test_main);
17 : :
18 : 1 : HEADER("Preparations");
19 : 1 : TEST(prepare,"Preparation for tests");
20 : :
21 : 1 : HEADER("Testing of built-in libraries");
22 : 1 : SUTE(bundled_libraries,"Bundled libraries test set");
23 : :
24 : 1 : HEADER("Unit Testing of precizer");
25 : 1 : SUTE(function_unit_testing,"Function-level unit tests");
26 : 1 : TEST(comprehensive_unit_testing,"Comprehensive Unit testing");
27 : :
28 : 1 : HEADER("System Testing of precizer");
29 : 1 : TEST(comprehensive_system_testing,"Comprehensive System testing");
30 : :
31 : : /* Mock only tecting in unit-mode so the linker wraps are active */
32 : : #ifndef EVIL_EMPIRE_OS
33 : 1 : HEADER("Mock-Based Testing of precizer");
34 : 1 : TEST(comprehensive_mock_testing,"Comprehensive Mock testing");
35 : : #endif
36 : :
37 : 1 : HEADER("Clean results");
38 : 1 : RUN(clean,"Temporary data cleanup");
39 : :
40 : 1 : RUN(finish,"Telemetry");
41 : :
42 : 1 : HEADER("Finishing");
43 [ + - ]: 1 : SUTEDONE;
44 : : }
|