testify
To tell a court what pertinent information to a case one has, while under oath, and while the defendant is present.
To bear witness.