タグ

ブックマーク / testing.googleblog.com (3)

  • Code Health: Respectful Reviews == Useful Reviews

    Interesting. I would caution that some of the tips are very culture-dependent. For instance, the example of not criticizing the person - I would rather have someone tell me straight in my face "Your approach is adding unnecessary complexity" than go around in circles and word-dancing around it, I would appreciate the honesty and the respect for my time (the 2nd way of phrasing is longer. but more

    Code Health: Respectful Reviews == Useful Reviews
    efcl
    efcl 2019/11/10
    コードレビューにおいてAuthorとReviewerが気をつける点について。 Do Dont
  • Test Sizes

    Small tests should be isolated from each other, but this constraint gets in a way of medium and large tests (especially for web testing). Take a look at what users are doing with Selenium + TestNG. Also, dependencies and high parallelism are not mutually exclusive, it's unfortunate that this rumor is still around. Here is why: http://beust.com/weblog/2009/11/28/hard-core-multicore-with-testng/ Rep

    Test Sizes
    efcl
    efcl 2016/08/19
    テストサイズによる分類
  • TotT: Avoiding Flakey Tests

    What was wrong with "def CreateGapLease(self, lease_path='/leases/gap'):"? Immutable types like strings aren't a risk in default args. My version probably runs slightly faster and will produce much better automatically-extracted docs. The related trap, which you might have been trying to avoid, looks like this: def func(x=[]): . x.append(5) . return x (Except without the silly dots to workaround b

    TotT: Avoiding Flakey Tests
    efcl
    efcl 2016/03/26
    壊れやすい、不安定なテストを避けるという話。 API依存、ファイルシステム依存
  • 1