Dna testing?

Patricia
Has any one or does anyone know about DNA testing before the baby is born? I know 100% who is my baby's father is he got upset cuz I told him I did testing to make sure that I didn't get anything not knowing if he had been with someone else now he wants a DNA test I want to do it as soon as I can for he can see how fu"*ing stupid he looks