# All the tests are open source?

**URL:** https://forums.foundationdb.org/t/all-the-tests-are-open-source/4041
**Category:** Development
**Created:** [July 3, 2023, 7:34pm UTC](https://forums.foundationdb.org/t/all-the-tests-are-open-source/4041 "2023-07-03T19:34:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![falsandtru](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/falsandtru/32/546_2.png) [@falsandtru](https://forums.foundationdb.org/u/falsandtru)
#### Post date: [July 3, 2023, 7:34pm UTC](https://forums.foundationdb.org/t/all-the-tests-are-open-source/4041/1 "2023-07-03T19:34:03Z")

</div>

Are all the source code of tests that constitutes “roughly one trillion CPU-hours of simulation on FoundationDB” contained in `https://github.com/apple/foundationdb`?

---

<div class="post-metadata">

### Author: ![jzhou](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/jzhou/32/445_2.png) [@jzhou](https://forums.foundationdb.org/u/jzhou)
#### Post date: [July 4, 2023, 9:44pm UTC](https://forums.foundationdb.org/t/all-the-tests-are-open-source/4041/2 "2023-07-04T21:44:21Z")

</div>

Yes. All tests are open source:

- Tests are located [foundationdb/tests at main · apple/foundationdb · GitHub](https://github.com/apple/foundationdb/blob/main/tests/), where each test is a specification of a combination of workloads.See [foundationdb/tests/fast/CycleTest.toml at main · apple/foundationdb · GitHub](https://github.com/apple/foundationdb/blob/main/tests/fast/CycleTest.toml) for an example, which uses `Cycle`, `RandomClogging`, and `Attrition` workloads.
- Specific workloads are implemented [foundationdb/fdbserver/workloads at main · apple/foundationdb · GitHub](https://github.com/apple/foundationdb/tree/main/fdbserver/workloads)
- A testing system, [Joshua](https://github.com/FoundationDB/fdb-joshua), is used to run arbitrary number of simulation tests. Typically each PR is run with 100k such correctness tests. For releases, we typically run over 1M correctness tests.
