How to incorporate software testing into each phase of the development process efficiently is a critical factor for improving software quality. Current related works are all integrating methods either based on the technological aspects or the artifacts structure aspects of the process. Nevertheless, from the standpoint of management, they are lack of a strategy to coordinate the conflict in resources between the development and quality teams. This study starts with the goal of total quality management, and aims at guiding development and testing with the help of Demin's PDCA quality cycle principle. Moreover we propose a framework, based on XML, t initiate the documentation structure of development and testing, and, furthermore, with the aid of hyperlink to achieve traceability and monitoring purpose.