Normally the DWV test is with everything capped and the system filled with water. A test cookie on the end on the pipe that extends through the foundation, or a test wye of tee with a test plug that can be removed.
The shower pan is may be installed with a test cap in the drain.
If it was a ground work only, I would have a 10 foot riser and fill that with water to the top. The inspector would come by and shake that pipe to make sure it was full.
The water supply is with stub outs that are capped. I typically put a water heater flex at the WH rough and use that to fill the hot side.
Shower head standpipes are capped and tested. Some places require a hydro-static test on new construction for the water.
A finish inspection is with all fixtures installed, caulked and usable. It is at this time that the individual shutoffs are installed. No sense having them there before drywall and painting.