pub struct FoundryIntegration {
pub project_root: PathBuf,
}Fields§
§project_root: PathBufImplementations§
Source§impl FoundryIntegration
impl FoundryIntegration
pub fn new_with_project_setup(project_root: PathBuf) -> Result<Self>
pub fn copy_contract_to_src( &self, contract_path: &Path, contract_name: &str, ) -> Result<()>
pub fn write_test_contract( &self, contract: &SolidityTestContract, test_file_path: &Path, ) -> Result<()>
pub fn run_project_build(&self) -> Result<bool>
pub fn run_tests(&self, test_pattern: Option<&str>) -> Result<bool>
Auto Trait Implementations§
impl Freeze for FoundryIntegration
impl RefUnwindSafe for FoundryIntegration
impl Send for FoundryIntegration
impl Sync for FoundryIntegration
impl Unpin for FoundryIntegration
impl UnsafeUnpin for FoundryIntegration
impl UnwindSafe for FoundryIntegration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more