Method and device for testing separators by measuring local transverse electrical resistance