Typical Unit Test in Rust

Опубликовано: 29 Июль 2022
на канале: The Dev Method
712
18

The compiler has been checking our correctness in our programs. The correctness of the language and syntax rules. However, it hasn’t checked for the correctness of the logic and output of the program.

Automated tests are your way of checking your program does what you think it should do when used by others.

Writing good tests takes practice, research, and experience. Today, we uncover the fundamental tools Rust has to start writing automation tests.

#rust #test #automation #shorts