How to test Battery Capacity?

How to test Battery Capacity?

How to test Battery Capacity, Battery Amps-hours, mAh, Watt-hours? The article describes capacity-hours, amp-hours, mAh, watt-hours, internal or series resistance, temperature effects, battery cutoff voltages, and characteristic curves of  D/C