ci: add unit tests check #4

Merged
light7734 merged 8 commits from ci/unit-tests into main 2025-07-16 09:55:16 +00:00
Showing only changes of commit f457e5ae19 - Show all commits

View file

@ -46,10 +46,10 @@ public:
test();
}
std::cout << "_________________________[TEST RESULTS]_________________________";
std::cout << "_________________________[TEST RESULTS]_________________________\n";
std::cout << "Ran " << instance().m_failed_count + instance().m_pasesed_count << " tests:\n"
<< "Passed: " << instance().m_pasesed_count << '\n'
<< "Failed: " << instance().m_failed_count << '\n';
<< "\tpassed: " << instance().m_pasesed_count << '\n'
<< "\tfailed: " << instance().m_failed_count << '\n';
return instance().m_failed_count;
}
@ -100,6 +100,7 @@ struct Case
return; // TODO(Light): Should we run the remaining tests after a failure?
}
details::Registry::increment_passed_count();
std::cout << " --> SUCCESS :D" << "\n";
}