File api and test cases

The final set of test cases is not known until ctest runs. CTest now has a --show-only=json-v1 option that is its equivalent to CMake’s fileapi.