D5579: rust: factorized testing Graphs

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Thu Jan 17 09:21:38 EST 2019


yuja added a comment.


  >   @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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5579

To: gracinet, #hg-reviewers, kevincox
Cc: yuja, durin42, kevincox, mercurial-devel


More information about the Mercurial-devel mailing list