In the sweat test, an area of the skin, usually the forearm or leg, is made to sweat. The area is wrapped with a device that collects the sweat that is produced.