Pruebas - Rust By Example
Description: Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries.

## Keyboard shortcuts

Press `←` or `→` to navigate between chapters

Press `S` or `/` to search in the book

Press `?` to show this help

Press `Esc` to hide this help

# Pruebas

Rust is a programming language that cares a lot about correctness and it includes support for writing software tests within the language itself.

Testing comes in three styles:

- Unit testing.
- Doc testing.
- Integration testing.

Also Rust has support for specifying additional dependencies for tests:

- Dev-dependencies

## See Also

- The Book chapter on testing
- API Guidelines on doc-testing