1
0
forked from Alepha/Alepha

22 Commits

Author SHA1 Message Date
373b07e1c4 Apply the newer namespace rules and layout/formatting. 2024-04-02 23:32:02 -04:00
3afe19965d Describe tests which are skipped.
This helps prevent silent test skipping on normal runs.
2024-01-27 04:49:05 -05:00
4682fe3ffb Consolidate the StaticValue implementations. 2023-11-12 05:23:20 -05:00
d1157cabf7 Start the C++23 adoption. 2023-11-07 05:30:50 -05:00
bba2544780 Split out some of the test core into its own TU.
This might cut down on test build times?  It will let
me polish up some of this stuff without needing to recompile
some things.
2023-10-26 00:54:33 -04:00
6b3492636a Make test exception not part of the hierarchy.
(It shouldn't be caught, but for the framework.  Although `Condition`
may be the right type?)
2023-10-26 00:38:05 -04:00
987aa454db Make test framework start using concepts... 2023-10-25 23:58:16 -04:00
794e4404a1 Put in some structure to test output.
This helps to visually distinguish between different cases
which executed and when new tests start.
2023-10-24 00:36:04 -04:00
1bb0c56224 Update and consolidate the console and colors code.
This introduces a subset of SGR-Name syntax.
2023-10-20 23:48:00 -04:00
0b63658815 Unify the evaluation helpers implementations. 2023-10-20 04:49:07 -04:00
d2d1181c77 Fix the test literals namespace. 2023-10-15 19:57:11 -04:00
f954057126 Print test nae before running, too. 2023-10-13 00:21:59 -04:00
a8433d13e3 More progress on the testing front. 2023-10-12 18:57:40 -04:00
fe66d726be Clean up and regularize the prologue of files.
Mark them for C++20, remove the old module-faking hacks, etc.
2023-02-10 08:58:29 -08:00
d5684b8d51 Boolean tests have to actually run.
This just checked that they exist, not that they passed.
2022-10-17 18:23:34 -04:00
e170f3f172 Boolean test lambdas can now be used properly. 2022-10-16 01:36:13 -04:00
439fbb1433 StaticValue helper.
Incorporated into `Testing`, for now.  Semi-threadsafe statics,
initialize them before going multithreaded.
2021-10-26 05:10:40 -04:00
3c11d6af74 Move the colours stuff out of Testing and into console. 2021-10-25 02:01:07 -04:00
76c7eaf1b7 Test harness improvements. 2021-10-16 23:21:04 -04:00
6dcc093af6 Add test functionality harness.
Now you can `test.demand` and `test.expect`.

Expect delays failure reports until the end.  Demand creates
an immediate failure.
2021-10-15 05:17:02 -04:00
f7bdba6072 Add console colour support. 2021-09-07 18:45:43 -04:00
7ceef7e1b1 Starting out Alepha from scratch, as a C++17 effort.
This one is going to be prepped for GitHub private, from the get
go.  This initial commit has some evaluation helpers and the
unit testing infrastructure.  `TableTest` will come next.
2021-07-01 01:42:11 -04:00