  Nowadays, Software Process Improvement popularly known as SPI has been able
to receive an immense concern in the continuous process to purify software
quality. Several Agile methodologies previously have worked with Extreme
programming (XP). Before improving the process, defect prevention (DP) is
inevitable. In addition, DP largely depends on defect detection either found
earlier in the design and implementation stages or held in the testing phases.
However, testing maturity model integration (TMMI) has a crucial aspect in DP
as well as process improvement of the software. In particular, when software
gets validated by being tested and fixed the defects up, it achieves the
maximum capability maturity model integration (CMMI) aiming the process
improvement. Here, the article has proposed an improved defect detection and
prevention model to enhance the software process following the approach of XP.
Besides, as a unique contribution, we have united the capability and testing
model integration to ensure better SPI.
