# The CTF Test Collection

> [!NOTE]
> **Note:** Compatibility testing documents are being overhauled in Q2 2024. Some information in this document is out of date. See https://fxbug.dev/339893257 for details.

[CTF](https://fuchsia.dev/docs/development/testing/ctf/overview) 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.
[](https://issues.fuchsia.dev/issues/new?component=1439230&template=1881640&description=Issue+on:+https://fuchsia.dev/docs/development/testing/ctf/test_collection.md "Report a bug or suggest improvements on this page") [](https://cs.opensource.google/fuchsia/fuchsia/+/main:docs/development/testing/ctf/test_collection.md "View the source code of this page") [](https://ci.android.com/edit?repo=fuchsia/fuchsia/main&file=docs/development/testing/ctf/test_collection.md&cloneRepo=fuchsia/fuchsia:refs/heads/main&fullPath=fuchsia/docs/development/testing/ctf/test_collection.md "Edit the source code of this page")