24 unstable releases (11 breaking)
0.13.1 | Jan 12, 2024 |
---|---|
0.13.0 | Nov 24, 2023 |
0.12.0 | May 14, 2023 |
0.10.2 | Jan 12, 2023 |
0.2.0 | Jun 5, 2021 |
#543 in Testing
97 downloads per month
23KB
416 lines
phper-test
Integration test tool for phper.
The php-config
is needed. You can set environment PHP_CONFIG
to specify the path.
Notice
-
Because the
phper-test
depends on thecdylib
to do integration test, but nowcargo test
don't buildcdylib
in[lib]
, so you must callcargo build
beforecargo 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. -
Or, define an
[[example]]
section, re-export all the symbols of your crate, and setlto = true
. It's strange, but this is the only method to just runcargo test
without runningcargo build
in advance. Please refer to tests/integration/Cargo.toml.
License
Dependencies
~5–15MB
~194K SLoC