Only comment is that if you are using an LED then you will need to send enough current to light the LED. This current will also pass through the thing you are testing.
If thats just pcb tracks before mounting components, or wire connections, then ok. If you are using it on an assembled board then you will need to be careful you dont overcook something.
The benefit of adding a transistor is that you can pass a much lower current and then boost it with the transistor to drive the LED.