Soil testing is recommended for eggplant plants to determine the amount and type of fertilizer needed. It provides an analysis of nitrogen, phosphorus, and potassium levels in the soil, helping gardeners choose the appropriate fertilizer for optimal plant growth.