intransitive verb
to give evidence or testimony.
The witness has agreed to testify.
He was called to testify to the committee.
transitive verb
to state or affirm as fact or truth, esp. under oath.
The witness testified that she had seen the suspect enter the building.
He testified to the police that he had been at a poker game at the time of the robbery.