pub trait TestApplication: Sized {
// Required methods
fn test_config(&self) -> Result<AppConfig>;
fn boot_test(
self,
context: AppContext,
migrate: bool,
) -> impl Future<Output = Result<TestApp>> + Send;
}Expand description
Adapter implemented by Capy’s normal App builder, not a separate test router.
Required Methods§
Sourcefn test_config(&self) -> Result<AppConfig>
fn test_config(&self) -> Result<AppConfig>
Resolve the application’s configuration without opening a database.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".