A survey on automatic generation of test cases from UML diagrams.