Compare commits
4 Commits
Release-1
...
Release-1.
Author | SHA1 | Date | |
---|---|---|---|
50cd639923 | |||
fae8e82ba8 | |||
|
381a366846 | ||
babf4fead2 |
@@ -1,6 +1,6 @@
|
||||
# 2024 Josh O'Leary @ Redacted Software
|
||||
|
||||
cmake_minimum_required(VERSION 3.18...3.25)
|
||||
cmake_minimum_required(VERSION 3.18...3.27)
|
||||
project(
|
||||
jtest
|
||||
VERSION 1.0
|
||||
@@ -32,7 +32,7 @@ CPMAddPackage(
|
||||
|
||||
CPMAddPackage(
|
||||
NAME jlog
|
||||
URL https://git.redacted.cc/josh/jlog/archive/Prerelease-14.zip
|
||||
URL https://git.redacted.cc/josh/jlog/archive/Prerelease-16.zip
|
||||
)
|
||||
|
||||
|
||||
@@ -66,4 +66,4 @@ target_link_libraries(jtest PUBLIC Event jlog)
|
||||
add_executable(TestSuiteDemo main.cpp)
|
||||
|
||||
# link the new library target with the binary target
|
||||
target_link_libraries(TestSuiteDemo PUBLIC jtest)
|
||||
target_link_libraries(TestSuiteDemo PUBLIC jtest)
|
||||
|
1
main.cpp
1
main.cpp
@@ -7,7 +7,6 @@
|
||||
|
||||
// TODO: Provide introspection insofar as which assertion check failed.
|
||||
// TODO: Provide alternate checks (google test has specific assertations for handling floats, for example) (Are these actually necessary??)
|
||||
// TODO: Implement log-file-specification-capability in jlog so we can log to test_results.txt specifically.
|
||||
// TODO: Provide benchmarking on test running-time
|
||||
|
||||
#include <jtest/Unit.hpp>
|
||||
|
@@ -112,6 +112,7 @@ namespace jtest
|
||||
os << std::format("Results: {}/{} tests ran, {}/{} passed, {}/{} failed.", tests_ran, tests_total, tests_passed, tests_ran, tests_failed, tests_ran);
|
||||
os << std::format(" Report Card: {:.0f}% ", health);
|
||||
os << jlog::token(state, "[]", stateColor);
|
||||
os << "\n";
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user