We have completely enclosed coops and runs for nighttime, and typically let the hens free-range during the day.
 
Year one, fencing was 5 strand electric wire (we have horses).  We lost a lot of hens to a fox who slipped under the bottom wire.  So we installed wire mesh fencing around the entire...