The CTF Test Collection

CTF tests run in a special collection which is meant to isolate any capabilities that are required only for CTF testing. CTF tests must declare the following facet so they run in this collection:

// my_test.cml

{
    include: [
        "//sdk/ctf/test_realm/meta/test-collection.shard.cml",
        "//src/sys/test_runners/rust/default.shard.cml",
    ],
    program: {
        binary: "bin/my_test_binary",
    },
}

The system capabilities offered to CTF tests can be found in //sdk/ctf/test_realm/meta/test-collection.shard.cml.