In the law, testimony is a form of evidence given by a witness who makes a solemn statement or declaration of fact. Testimony may be spoken or written. It is usually made by oath or affirmation under penalty of perjury.