An HIV test involves a blood sample being taken. The way the tests works is that if you have HIV your body reacts by producing antibodies which are present in your blood, the HIV test simply checks for their presence. Rapid tests may also be available which involve a saliva sample or a finger-prick test. An HIV test is the only way to tell if you have HIV.