Hello, I would like to know if there is any tool to test the codes inserted in the example section of the documentation in an agile way.
You can do this with the
cargo test command.
cargo test will compile and run all code found in library documentation. For more details, see:
Note that there are some limitations to doctests because of how they work. Most importantly, they can only use your library's public API. They can't directly call private code, or code within binary (non-library) crates.
That's amazing, thanks for the link.