Adopting xUnit testing framework in software development often requires a lot of refactoring to the system under test (SUT). Contrast to system testing which can be performed by tools, xUnit testing is a coding activity which produces test code as the delivery. Test code, unfortunately, is subject to the maintenance problems like system code. In this paper, a prototype tool called CRUnit is proposed to alleviate the test overhead from adopting xUnit testing framework. CRUnit is a JUnit add-on, which can replace the hand-crafted assertions by a Capture/Replay process with the help from debuggers. Contrast to xUnit testing framework that treats a SUT as a blackbox, CRUnit probes the internal states of a SUT so that complicated hand-crafted assertions are no longer needed from test methods. This semi-automated process is achieved by introducing the verification power of human brain and human eyes with the help from "visualizers".
|Number of pages||8|
|Journal||ICIC Express Letters, Part B: Applications|
|State||Published - 2014|
- Capture/replay testing
- Xunit testing