pepopowitz’s avatarpepopowitz’s Twitter Archive—№ 2,178

    1. …in reply to @vforvidane
      @vforvidane The sure bet is to enable code coverage, which should point you to the tests covering any line. Re: developing "intuition" - over time you'll get a sense for code that's easier to test - it tends to also be code that HAS tests. Code that looks hard to test usually lacks tests.
  1. …in reply to @pepopowitz
    @vforvidane Some qualities of testable code that come to mind: shorter methods, pure functions, simple to read...