Thanks guys. I was able to build the test runner executable without running the test. As a result, I was able to make a script in OCaml that runs an individual test in a file without running an entire test for a library. I made this script because I was not able to find a command in dune that does this.
Come check out the script here: