D5579: rust: factorized testing Graphs

Yuya Nishihara yuya at tcha.org
Thu Jan 17 09:19:51 EST 2019


>   @yuja the doc you're linking is about integration tests, so it wouldn't apply to these tests which are really unitary in my mind. Usually the main difference would be the access to the private constructs that the integration tests can't perform, but it's true that most of these implementations are public anyway.

Yep, I tend to ignore the theoretical meanings of unit vs integration, and
use them as test frameworks fit to small/simple and big/complex tests
respectively.

I just don't know if that's common in Rust community.


More information about the Mercurial-devel mailing list