Run Rust web application tests in a Docker container using the ./ci/run-docker.sh script with your target architecture.
Use the ./ci/run-docker.sh script to execute your Rust web application tests inside a Docker container, matching the CI environment. Run the script with your specific target architecture to ensure compatibility.
./ci/run-docker.sh x86_64-unknown-linux-gnu
For a full test suite across all targets, run the script without arguments:
./ci/run-docker.sh
Using Docker with Rust Web Applications runs your code inside a pre-configured container, ensuring your application works exactly as it does in the automated testing system. It handles all the complex setup of dependencies and environments so you don't have to. Think of it as a portable, standardized testing lab that you can run on your own machine.