2843. Testimony is a statement whereby a person relates facts of which he has personal knowledge or whereby an expert gives his opinion.
To make proof, testimony shall be given by deposition in a judicial proceeding unless otherwise agreed by the parties or provided by law.