The answer to 'how to test recessed lighting' is to first turn off power to the circuit at the circuit breaker. Then use a voltage tester to check that power is off at the light fixture. Next, remove the light trim or bezel to access the light bulb and electrical connections. Visually inspect the connections and look for any signs of damage or wear. Finally, test the bulb and any other electrical components to ensure they are functioning properly.
Regular testing of recessed lighting is important for safety and to ensure the lights are working as intended. It's recommended to test recessed lights at least once a year, or any time you notice issues like flickering, dimming, or the lights not turning on.