For prototype condoms, or in general? Presumably they would stress test in a simulated environment, as well as perform human tests with participants who do not require them to be effective. (IE using alternate methods of birth control and having been screened for STIs.) I would imagine they would use volunteers in committed relationships. Or are you asking specifically how one would go about testing a condom's effectiveness?