Function test_php_scripts

Source
pub fn test_php_scripts(
    lib_path: impl AsRef<Path>,
    scripts: &[&dyn AsRef<Path>],
)
Expand description

Check your extension by executing the php script, if the all executing return success, than the test is pass.

  • lib_path is the path of extension lib.

  • scripts is the path of your php test scripts.

See example hello integration test.