Mount a capacitor on a connector without any solder
You might consider using screw terminals.  Such as shown below. No solder required.  Just a small screw driver.  It's reliable and durable. And you can try different parts if you need to.