Separating End to End Tests in Rust with Cargo Features

I&apos;ve recently added a new way to run heavy end to end tests to one of my Rust projects. These tests are launching heavy infrastructure like Docker and Selenium WebDriver, so I did not want them to run together with my unit tests. In this article, I explain how I added a test target that is skipped when I run cargo test , and is run on its own when I run cargo test-end-to-end .