The peanut allergy test is used to detect the allergy that you develop to peanut and peanut-contained foods. This test can be done in two ways: blood test and skin test. The blood test measures the presence of immunoglobulin E (IgE) antibodies to specific foods, for example peanut. During the skin test, an allergist places a drop of solution containing the food allergen on your skin. Using a small plastic probe or needle, the doctor gently pricks or scratches the skin to allow a tiny amount of the solution to enter just below the surface.