Cargo supports test driven developmentin Rust programming. There are lot of
options comes with cargo test command.
Writing test functions with #[test] in your program makes the code more readable
as well as its makes easy to understand the functionalities of the program for
others . I have seen that even I can start running the complex projects and see
outputs of some of the modules or functions in those projects.
code repository - https://github.com/davnav/parser_try.git
No comments:
Post a Comment