How to write unit tests in C++ relying on non-code files?

https://www.sandordargo.com/blog/2024/02/21/cpp-tests-with-resources

6 points · 2 comments · view on lemmy.world

2 Comments

vsouzas@lemmy.eco.br · 2 pts · 2y

Feels more like a rant on file system access.

zerofk@lemm.ee · 1 pts · 2y

This has nothing to do with C++, it’s just about the author floundering when trying to find a file at runtime.