5 Commits

Author SHA1 Message Date
50cd639923 Update CMakeLists.txt
windoze fix
2024-09-14 22:00:45 -04:00
fae8e82ba8 fix cmake_minimum_required using rebitch 2024-08-26 19:52:14 -04:00
Redacted
381a366846 Update CMakeLists.txt 2024-08-22 12:03:07 -04:00
babf4fead2 Add missing newline 2024-08-21 19:28:56 -04:00
maxine
c03ac76535 Merge pull request 'rewrite' (#14) from rewrite into main
Reviewed-on: #14
2024-08-21 18:38:20 -04:00
3 changed files with 4 additions and 4 deletions

View File

@@ -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)

View File

@@ -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>

View File

@@ -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";