No. Usually during a deposition, you provide testamony, but not before the court. Depositions often take place in a lawyer's office. The testamony is under oath and recorded. This usually happens early in the trial process, and is used for preliminary fact finding. Often the testamony given during a deposition is later given again before the court as part of the trial.
Chuchuflete, thank you for your help. I checked the dictionary online, but it provides 2 different meanings, which I'm not sure what's the one that corresponds to the phrase. Besides, the online dictionary interpretes it as "testify before the court."