3 ms·
I see tests as executable documentation/specification. TDD reinforces that view. i.e. rust even has the specification of parts of its functionality using asser
by mihaigalos 4y ago
I see tests as executable documentation/specification. TDD reinforces that view.
i.e. rust even has the specification of parts of its functionality using asserts (in the docs):
https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#examples https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#exa...