-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Testing
C+11 doesn't provide facilities for performing operations on file systems and their components, such as paths, regular files, and directories. C+17 remedies this by giving the Filesystem library. C+14 has an experimental version of this library too.
Since we can't traverse files systems, to run tests, we're forced to append all JSON spec tests to files and specify the path to those files in environment variables. This method is error-prone as forgetting to add a JSON test to one of the test files means forgetting to run the test.
Boost.filesystem provides all of the facilities we need and is compatible with C++11 (reference). We should add this library as a submodule for our test code.
- is depended on by
-
CXX-2036 Improve spec test runners
- Backlog