mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-03 05:43:09 +00:00
20 lines
443 B
Rust
20 lines
443 B
Rust
use async_trait::async_trait;
|
|
use testing_framework_core::scenario::{Deployer, Runner, Scenario};
|
|
|
|
#[derive(Debug)]
|
|
pub struct YourError;
|
|
|
|
pub struct YourDeployer;
|
|
|
|
#[async_trait]
|
|
impl Deployer for YourDeployer {
|
|
type Error = YourError;
|
|
|
|
async fn deploy(&self, _scenario: &Scenario<()>) -> Result<Runner, Self::Error> {
|
|
// Provision infrastructure
|
|
// Wait for readiness
|
|
// Return Runner
|
|
todo!()
|
|
}
|
|
}
|