There are two basic types of DNA testing that can be done before delivery. These include amniocentesis and CVS, or Chorionic Villus Sampling. An amniocentesis is generally performed during the second trimester of pregnancy. Typically, it would take place between the 14th and the 20th week of pregnancy.