Testing | laravel-missing-page-redirector-rust | Spatie       

 SPATIE  

laravel-missing-page-redirector-rust
====================================

spatie.be/open-source

  [Docs](https://spatie.be/docs)  [Laravel-missing-page-redirector-rust](https://spatie.be/docs/laravel-missing-page-redirector-rust/v1)  Testing

 Version   v1      

 Other versions for crawler [v1](https://spatie.be/docs/laravel-missing-page-redirector-rust/v1) 

  Testing    
- [ Introduction ](https://spatie.be/docs/laravel-missing-page-redirector-rust/v1/introduction)
- [ Support us ](https://spatie.be/docs/laravel-missing-page-redirector-rust/v1/support-us)
- [ Installation ](https://spatie.be/docs/laravel-missing-page-redirector-rust/v1/installation-and-setup)
- [ Usage ](https://spatie.be/docs/laravel-missing-page-redirector-rust/v1/usage)
- [ Testing ](https://spatie.be/docs/laravel-missing-page-redirector-rust/v1/testing)
- [ Changelog ](https://spatie.be/docs/laravel-missing-page-redirector-rust/v1/changelog)

 Testing
=======

- Run these checks from the package directory:

```
cargo fmt --all -- --check
cargo clippy --locked --all-targets --all-features -- -D warnings
cargo test --locked --all-targets --all-features
cargo test --locked --doc --all-features
cargo doc --locked --no-deps --all-features
cargo package --locked --list --allow-dirty
```

- Set `RUSTFLAGS` and `RUSTDOCFLAGS` to `-D warnings`, as CI does. In POSIX shells, prefix commands with `RUSTFLAGS='-D warnings' RUSTDOCFLAGS='-D warnings'`. In PowerShell, set `$env:RUSTFLAGS = '-D warnings'` and `$env:RUSTDOCFLAGS = '-D warnings'` first.
- Clippy's `all` and `pedantic` groups are enabled. In-memory providers may use the same async trait signature as storage-backed providers without an artificial await.
- The README and every Markdown guide participate in rustdoc tests. Setup lines prefixed with `# ` compile and execute but are hidden in rustdoc. Assertions check the examples' results.
- The package inventory command lists distributable files. A standalone crates.io tarball cannot be verified while package-tools is an unpublished Git dependency. Builds and tests use the pinned Git revision; nothing is published.
- Check the minimum supported Rust version:

```
rustup toolchain install 1.99.0 --profile minimal
cargo +1.99.0 test --locked --all-targets --all-features
cargo +1.99.0 test --locked --doc --all-features
```

- Check security advisories:

```
cargo install cargo-audit --locked
cargo audit --deny warnings
```

- CI runs stable checks on Linux, macOS and Windows, and MSRV and audit checks on Linux. Auditing requires access to the RustSec advisory database.
- Integration tests use the framework HTTP kernel to cover precedence, 404s, safe methods, captures, query handling, external origins, loop rejection and provider failures.
- Native application tests cover package-provider defaults, application overrides, environment validation, response policies, hit/miss events and listener failures.
- The changing-data fixture is in memory, not a database integration or production-data check.

 A good
match?
-------------

### What we do best

- All things Laravel
- Custom frontend components
- Building APIs
- AI-powered features
- Simplifying things
- Clean solutions
- Integrating services

### Not our cup of tea

- WordPress themes
- Cutting corners
- Free mockups to win a job
- "Just execute the briefing"

 In short: we'd like to be a **substantial part** of your project.

 [ Get in touch via email ](mailto:info@spatie.be?subject=A%20good%20match%21&body=Tell%20us%20as%20much%20as%20you%20can%20about%0A-%20your%20online%20project%0A-%20your%20planning%0A-%20your%20budget%0A-%20%E2%80%A6%0A%0AAnything%20that%20helps%20us%20to%20start%20straightforward%21)
