A procedure in which a sample of testicular tissue is taken to test for the presence and condition of sperm.