blob: dad4b802c84cff8a6c9be1b3265a45457e4b0aa6 [file] [log] [blame] [view]
# The CTF Test Collection
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] 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:
```json5
// my_test.cml
{
include: [
{{ '<strong>' }}"//sdk/ctf/test_realm/meta/test-collection.shard.cml",{{ '</strong>' }}
"//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.
[CTF]: /docs/development/testing/ctf/overview.md