3 ms·
The guide has a whole section on this: http://doc.rust-lang.org/guide.html#testing http://doc.rust-lang.org/guide.html#testing And we even have a full guide on
by steveklabnik 12y ago
The guide has a whole section on this: http://doc.rust-lang.org/guide.html#testing http://doc.rust-lang.org/guide.html#testing
And we even have a full guide on testing, though I haven't checked it lately: http://doc.rust-lang.org/guide-testing.html http://doc.rust-lang.org/guide-testing.html (it's on the todo list)