Font Size: a A A

Aspect-oriented Programming-based Unit Test Effectiveness Detection System

Posted on:2013-09-08Degree:MasterType:Thesis
Country:ChinaCandidate:S GuoFull Text:PDF
GTID:2248330392456887Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the promotion of test driven development ideology and increasing software size,The proportion of unit testing in the software development process is growing, Theeffectiveness of the unit test become an important factor in restricting software quality.The traditional unit test effectiveness detection systems using traditional programmingparadigm, cannot effectively address cross-cutting issues in software design, themodularity of cross-cutting issues is a pressing problem.After analyzed the advantages and disadvantages of the traditional unit testeffectiveness detection systems, proposed the aspect-oriented programming-based unittest effectiveness detection system. By studying the architecture and technology ofaspect-oriented language and the running mechanism of unit test, and combining thecharacteristics and future trends of unit test, designed and realized the aspect-orientedprogramming-based unit test effectiveness detection system.The system is based on the AspectJ and Java language, using aspect-orientedtechnology woven into the target running code and unit test code to run, effectivelyresolved a number of problems difficult to solve by traditional object-oriented language.Using this system can detect the effectiveness of unit test developed by Java language.Experimental results show that the system is indeed able to detect the problems of the unittest code and effectively enhance the effectiveness of unit testing. Although the systemdoes not support other languages now, but it has a certain reference of the ideology ofusing aspect weaving technology to solve the problems difficult to solve by traditionallanguage.
Keywords/Search Tags:Unit Test, Test Driven Development, Aspect-Oriented Programming, Aspect Weaving Technology
PDF Full Text Request
Related items