DRY   1454

« earlier    

Why Good Developers Write Bad Unit Tests
File under: DRY as Cement

Good advice all around. Includes how to write good helper functions.

On the difference between test code and production code.

Before blindly applying DRY to your tests, think about what will make the problem obvious when a test fails. Refactoring may reduce duplication, but it also increases complexity and potentially obscures information when things break.

On good test names:

A function called ReturnsNullptrWhenStreamIsEmpty would feel overly verbose in other contexts, but it’s a good test name. If you saw it break, you’d immediately know the class was mishandling empty data streams. You could likely fix the bug without ever reading the test’s implementation. That’s the mark of a good test name.

In summary:

Most importantly, tests should maximize simplicity while minimizing abstraction. A good test allows the reader to understand intended behavior and diagnose issues without ever leaving the test function.
testing  dry  programming  design  patterns  tdd 
18 days ago by jefframnani
Understanding The Main Differences Between Wet and Dry Fire Sprinkler Systems
Not only do sprinkler systems ensure the safety of your business and personal, but they are a legal requirement as well.
sprinker-system  wet  dry 
27 days ago by Adventure_Web
Upholstery Cleaning Urmston M41 0161 768 0208 - YouTube
Upholstery Cleaning by Deluxe Dry Upholstery Cleaning Urmston M41 Modern Dry Upholstery cleaning cleans and refreshes your furniture. Fabrics for most furniture dries rapidly due to our minimum moisture methods and with great stain removal. Deluxe Dry Carpet Cleaning 36 Abbots Close Manchester M33 2DB 0161 768 0208 https://goo.gl/maps/sA3U18GSQKt https://ift.tt/2q8FwZA
dry  carpet  cleaning  manchester  stockport  deluxe 
7 weeks ago by deluxedrycarpet
Upholstery Cleaning Stretford M32 0161 768 0208 - YouTube
Upholstery Cleaning service for Stretford M32 by Deluxe Upholstery Cleaning Modern Dry Upholstery cleaning cleans and refreshes your furniture. Fabrics for most furniture dries rapidly due to our minimum moisture methods and with great stain removal. Deluxe Dry Carpet Cleaning 36 Abbots Close Manchester M33 2DB 0161 768 0208 https://goo.gl/maps/sA3U18GSQKt https://ift.tt/2q8FwZA
dry  carpet  cleaning  manchester  stockport  deluxe 
7 weeks ago by deluxedrycarpet
Upholstery Cleaning Sale M33 0161 768 0208 - YouTube
Upholstery Cleaning in Sale M33 by Deluxe Dry Upholstery CleaningModern Dry Upholstery cleaning cleans and refreshes your furniture. Fabrics for most furniture dries rapidly due to our minimum moisture methods and with great stain removal. Deluxe Dry Carpet Cleaning 36 Abbots Close Manchester M33 2DB 0161 768 0208 https://goo.gl/maps/sA3U18GSQKt https://ift.tt/2q8FwZA
dry  carpet  cleaning  manchester  stockport  deluxe 
7 weeks ago by deluxedrycarpet
Upholstery Cleaning Flixton M41 - YouTube
Upholstery Cleaning by Deluxe Dry Upholstery Cleaning Flixton M41 Modern Dry Upholstery cleaning cleans and refreshes your furniture. Fabrics for most furniture dries rapidly due to our minimum moisture methods and with great stain removal. Deluxe Dry Carpet Cleaning 36 Abbots Close Manchester M33 2DB 0161 768 0208 https://goo.gl/maps/sA3U18GSQKt https://ift.tt/2q8FwZA
dry  carpet  cleaning  manchester  stockport  deluxe 
7 weeks ago by deluxedrycarpet
Upholstery Cleaning Carrington M31 - YouTube
Upholstery Cleaning in Carrington M31 by Deluxe Dry Upholstery Cleaning ServiceModern Dry Upholstery cleaning cleans and refreshes your furniture. Fabrics for most furniture dries rapidly due to our minimum moisture methods and with great stain removal. Deluxe Dry Carpet Cleaning 36 Abbots Close Manchester M33 2DB 0161 768 0208 https://goo.gl/maps/sA3U18GSQKt https://ift.tt/2q8FwZA
dry  carpet  cleaning  manchester  stockport  deluxe 
7 weeks ago by deluxedrycarpet
Upholstery Cleaning Brooklands M33 - YouTube
Upholstery Cleaning in Brooklands M33 by Deluxe Dry Upholstery Cleaning serviceModern Dry Upholstery cleaning cleans and refreshes your furniture. Fabrics for most furniture dries rapidly due to our minimum moisture methods and with great stain removal. Deluxe Dry Carpet Cleaning 36 Abbots Close Manchester M33 2DB 0161 768 0208 https://goo.gl/maps/sA3U18GSQKt https://ift.tt/2q8FwZA
dry  carpet  cleaning  manchester  stockport  deluxe 
7 weeks ago by deluxedrycarpet
Carpet Cleaning Carrington M31 - YouTube
Carpet Cleaning in Carrington M31 by Deluxe Dry Carpet Cleaning
dry  carpet  cleaning  manchester  stockport  deluxe 
7 weeks ago by deluxedrycarpet

« earlier    

related tags

(mgd)  -  15  1st  2015  2018-08-06  4g  500px  a  a:tef  abcc11  abstractions  ac  add-on  advice  advocacy  and  android  annotations  antiperspirant  apnea  arch  architecture  art  async  atomicdesign  auta  aw18  ayurveda  b&w  b/w  baby  bag  bass  beans  bed  bem  best  bestpractices  black  blackandwhite  blasting  blog  boat  body  book  brine  brushing  bugs  cab  cactus  callbacks  can  canine  carolina  carpet  cars  clean  cleancode  cleaners  cleaning  cloth  clothes  cms  coastal  coconut  code-design  code-quality  code-style  code  coding  cold  collection  composition  conservatory  content  cooking  cough  craft  crawl  criticism  crochet  css  daily  damage  damp  daniela  ddd  dehumidifier!  dehumidify  delivery  deluxe  demand  dental  deodorant  desert  design  development  devops  documentation  does  don't  dried  dry  drying  dryrub  duplication  during  dust  dutchman  dysfunction  earwax  eczema  emu  emulator  engine  enumerations  epoxy  erase  etching  eva  execution  eye  face  faster  fe  feature  fiber  fine  florence  flowers  food  for  framework  freeze  from  fruit  fry  garden  gemini  gene  gland  goods  grapes  green  gregis  grinding  grub-emu  grub  hair  health  helix  home  household  how  howto  html  ice  ideapaint  ifttt  in  industrial  info  inheritance  install  installed  it  japanese  javascript  junit  kemper  konjac  korean  kotlin  l  lake  latest  law  lithium  localised  loss  lotion  maintenance  management  manchester  materials  mealworms  meat  meibomian  metaprogramming  methods  microservices  mini  mix  mmm  mode-  modularity  moisture  moisturizer  mono  monochrome  more  mouth  multicolor  mvc  needles  neem  niobate  node.js  noodles  north  odor  offerings  on  one  onethingwell  optic  optics  oral  ornamental  oz  p:programming-is-terrible  paint  parami  patterns  phone  photography  plasma  pork  preserve  principles  programming  programming_architecture  protect  pug  quality  rains  recipe  recipes  record  refactor  refactoring  reliability  repair  repair:  repairing  repeat  research  resonator  rights  roast  robertirvine  rot  rough  rub  rules  run  safe  safety  sage  sahara  samochody  santa  science  seafood  sealed  sepia  shop  sichuan  sill  skin  sleep  slide  smoke  software-design  software  softwarecrafting  solid  spaces  spaghetti  split  sprinker-system  sprint  srp  standards  stay  stayed  stockport  stone  stream  structure  studioone  study  style  succulent  suggestion  survival  sweat  sweng  swift  system  tdd  technology  teeth  tef  template  terraform  terragrunt  test  testing  testings  texture  the  thought-provoking  time  tip  tips  to  tolearn  tool  tooth  toread  tote  totry  tounderstand  town  turkey  tutorial  uk  valenciana  variables  venison  vented  verify  vs.  wall  wash  washing  water  waveguide  web  webdesign  wet  wham  white  whiteboard  window  with  wooden  wool  work?  wynajem  xerostomia  yourself  zone4  zone5  | 

Copy this bookmark:



description:


tags: