Function phper_test::test_php_scripts[][src]

pub fn test_php_scripts(
    exe_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.

  • exec_path is the path of the make executable, which will be used to detect the path of extension lib.

  • scripts is the path of your php test scripts.

See example hello integration test.