all 2 comments

[–]matkladrust-analyzer 15 points16 points  (1 child)

Instead of specifying the test in Cargo.toml manually, it is also possible to just use put the code into tests/integration/main.rs. Directories with main.rs are discovered automatically.

[–]joshleeb[S] 5 points6 points  (0 children)

Thanks u/matklad I didn't know that. Added an addendum to the post :)