Function phper_test::cli::test_php_scripts_with_condition
source · pub fn test_php_scripts_with_condition(
lib_path: impl AsRef<Path>,
scripts: &[ScriptCondition<'_>]
)
Expand description
Check your extension by executing the php script, if the all your specified checkers are pass, 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 slice of the tuple, format is(path of your php test script, checker function or closure)
.