does there exist a program that dynamically links an executable (this seems like an oxymoron but it's possible, see witchcraft compiler collection) then loops over all the symbols and then runs any function that matches the pattern "TEST_*"
@suricrasia I'm feeling very nerd sniped
I think people normally do this by registering something at top-level, like in gtest, and I also have no idea how that works
it would also be cool if this was a long-lived process that dlcloses/dlopens the executable whenever it detects that the file changed, then re-runs the test
also, imagine if it also automatically fuzzed symbols matching the pattern FUZZ_* ?
@suricrasia …. Aaaaand there… Another crazy idea I **have** to try out!
@suricrasia These are all rad ideas. They're also probably the foundation of some of the "hot reload" features in some engines.