Abstract

Testing is the major means of verifying and validating software. It is a repetitive and time-consuming activity. Testing is neglected because of its high cost and the fact that it does not add functionality to the system. As a result, many programmers don't write tests. To remedy this, some researcher proposed automatic test generation. Test generation is a solution that reduces workload and increases productivity. In this paper, we propose a test data generation approach for unit tests in dynamically typed languages. Our approach is based on the analysis and decomposition of the AST (Abstract Syntax Tree) obtained when compiling the source code of the method under test. We validate this approach in Pharo a real system. The results on three systems show the effectiveness of the approach.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.