How to test fuel pump? How to attach pressure gauge?

I am trying to diagnose a rough idle. I have been farting around with this all summer. I started another post on this a while back. A weak fuel pump is just one idea I had but I just wanted to test it because I didn't think there was a high probability that was the cause. The other more likely causes I am looking into are bad carburetor float adjustment and a vacuum leak.
Fuel pressure is definitely on the list of things to check. Too much pressure 5# or more can cause the carb to bleed over at idle causing a rich condition you can't tune out. Float and vacuum leak can also cause a rough idle as well as a list of ignition and mechanical issues.
What are you working on? Stock or modified?