Module solana_local_cluster::integration_tests

source ·
Expand description

Code used by the integration tests in the local-cluster/tests folder.

According to the cargo documentation, integration tests are compiled as individual crates.

https://doc.rust-lang.org/book/ch11-03-test-organization.html#the-tests-directory

Putting shared code into the tests/ folder, causes it to be recompiled for every test, rather than being compiled once when it is part of the main crate. And, at the same time, unused code analysis is broken, as it is literally included. If a shared function is not used in one of the integration tests, it will be flagged as unused, when compiling this test crate.

Structs§

Constants§

Functions§