libcnb-test

An experimental integration testing framework for Cloud Native Buildpacks written in Rust with libcnb.rs.
Experimental
This crate is marked as experimental. It currently implements the most basic building blocks for writing
integration tests with libcnb.rs. Its feature set is deliberately cut down to get ball rolling and get a better feel
which features are required. See issues tagged with libcnb-test for possible future improvements.
Please use the same tag for feature requests.
Example
// In $CRATE_ROOT/tests/integration_test.rs
use ;
// In your code you'll want to mark your function as a test with `#[test]`.
// It is removed here for compatibility with doctest so this code in the readme
// tests for compilation.
Known issues
- Only local Docker daemons are fully supported. If using Circle CI you must use the
machineexecutor rather than the remote docker feature.