In short, flight testing for everything from best L/D to stall speed tests to...

AC 90-89A covers a test flight program for hours 1-35+. Look at pages 33-56, specifically.