29 unstable releases

Uses new Rust 2024

0.16.0 Jul 3, 2025
0.15.0 Feb 26, 2025
0.13.1 Jan 12, 2024
0.13.0 Nov 24, 2023
0.2.0 Jun 5, 2021

#436 in Build Utils

Download history 73/week @ 2025-03-29 69/week @ 2025-04-05 4/week @ 2025-04-12 1/week @ 2025-04-19 10/week @ 2025-05-10 2/week @ 2025-05-17 1/week @ 2025-05-24 111/week @ 2025-06-28 38/week @ 2025-07-05

149 downloads per month

MulanPSL-2.0

36KB
545 lines

phper-test

Integration test tool for phper.

The php-config is needed. You can set environment PHP_CONFIG to specify the path.

Notice

  1. Because the phper-test depends on the cdylib to do integration test, but now cargo test don't build cdylib in [lib], so you must call cargo build before cargo test.

    Maybe, when the feature artifact-dependencies becomes stable, or the issue be solved, you don't have to call cargo build in advance, but I think it will be a long long stage.

  2. Or, define an [[example]] section, re-export all the symbols of your crate, and set lto = true. It's strange, but this is the only method to just run cargo test without running cargo build in advance. Please refer to tests/integration/Cargo.toml.

License

MulanPSL-2.0.

Dependencies

~9–21MB
~311K SLoC