การศึกษาเทคนิคการสร้างกรณีทดสอบอัตโนมัติโดยใช้แผนภาพกิจกรรม
Main Article Content
บทคัดย่อ
- การสร้างกรณีทดสอบจากแผนภาพกิจกรรมมีหลายวิธีและมีความยากในการตัดสินใจเลือกใช้ให้เหมาะสมกับลักษณะของโปรแกรมที่แตกต่างกัน ผู้วิจัยจึงทำการศึกษาเปรียบเทียบการสร้างกรณีทดสอบอัตโนมัติจากแผนภาพกิจกรรมดังนี้ วิธี Round-Robin วิธี Condition-Classification Tree วิธี Activity Tree วิธี Intermediate Testable Model วิธี Activity Dependency Table and Activity Dependency Graph วิธี Test Path Reduction วิธี Activity Convert Grammar และวิธี Activity Flow Graph ผลการศึกษามีดังนี้ (1) การครอบคลุมเส้นทางทั้งหมดที่เป็นไปได้ พบว่าวิธีการส่วนใหญ่ผ่านเกณฑ์ข้อนี้ แต่วิธี Round-Robin จะสร้างกรณีทดสอบได้เกินกว่าเส้นทางทั้งหมดที่เป็นไปได้เป็นจำนวนมาก (2) การครอบคลุมเส้นทางพื้นฐาน พบว่าทุกวิธีสามารถสร้างเส้นทางการทดสอบได้ครอบคลุมเส้นทางพื้นฐานและ (3) จากแผนภาพกิจกรรมจำลองความซับซ้อนที่ผู้วิจัยสร้างขึ้นเมื่อวิเคราะห์ความคลาดเคลื่อนของจำนวนกรณีทดสอบที่สร้างได้เทียบกับเส้นทางที่เป็นไปได้ทั้งหมด พบว่าวิธี Activity Convert Grammar สร้างเส้นทางทดสอบมากเกินความจำเป็นโดยมีค่าความคลาดเคลื่อน 44.23% วิธี Test Path Reduction สร้างเส้นทางทดสอบได้น้อยกว่าที่จำเป็นต้องใช้โดยมีค่าความคลาดเคลื่อน -65.38% และวิธี Activity Flow Graph สร้างเส้นทางทดสอบได้ใกล้เคียงที่สุดมีค่าความคลาดเคลื่อนต่ำที่สุด คือ 1.92%
Article Details
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
I/we certify that I/we have participated sufficiently in the intellectual content, conception and design of this work or the analysis and interpretation of the data (when applicable), as well as the writing of the manuscript, to take public responsibility for it and have agreed to have my/our name listed as a contributor. I/we believe the manuscript represents valid work. Neither this manuscript nor one with substantially similar content under my/our authorship has been published or is being considered for publication elsewhere, except as described in the covering letter. I/we certify that all the data collected during the study is presented in this manuscript and no data from the study has been or will be published separately. I/we attest that, if requested by the editors, I/we will provide the data/information or will cooperate fully in obtaining and providing the data/information on which the manuscript is based, for examination by the editors or their assignees. Financial interests, direct or indirect, that exist or may be perceived to exist for individual contributors in connection with the content of this paper have been disclosed in the cover letter. Sources of outside support of the project are named in the cover letter.
I/We hereby transfer(s), assign(s), or otherwise convey(s) all copyright ownership, including any and all rights incidental thereto, exclusively to the Journal, in the event that such work is published by the Journal. The Journal shall own the work, including 1) copyright; 2) the right to grant permission to republish the article in whole or in part, with or without fee; 3) the right to produce preprints or reprints and translate into languages other than English for sale or free distribution; and 4) the right to republish the work in a collection of articles in any other mechanical or electronic format.
We give the rights to the corresponding author to make necessary changes as per the request of the journal, do the rest of the correspondence on our behalf and he/she will act as the guarantor for the manuscript on our behalf.
All persons who have made substantial contributions to the work reported in the manuscript, but who are not contributors, are named in the Acknowledgment and have given me/us their written permission to be named. If I/we do not include an Acknowledgment that means I/we have not received substantial contributions from non-contributors and no contributor has been omitted.
เอกสารอ้างอิง
2. S. Kansomkeat, P. Thiket and J. Offutt, “Generating test cases from UML activity diagrams using the Condition-Classification Tree Method”, In Proceedings of 2nd International Conference on Software Technology and Engineering (ICSTE), Vol. 1, October. 2010. pp. 62-66
3. R. K. Swain, V. Panthi, D. P. Mohapatra, P. K. Behera, “Prioritizing test scenarios from UML communication and activity diagrams”, Innovations in Systems and Software Engineering, Vol. 10, Issue 3, September 2014, pp. 165–180
4. A. Nayak and D. Samanta, “Synthesis of Test Scenarios using UML Activity Diagrams”, Software and Systems Modeling (SoSyM). Vol.10 Issue.1, February. 2011. pp. 63-89
5. C. Chouhan, V. Shrivastava, P.S. Sodhi, “Test Case Generation based on Activity Diagram for Mobile Application”, International Journal of Computer Applications, Vol. 57, No. 23, November. 2012.
6. P. N. Boghdady, N. L. Badr, M. Hashem and M. F. Tolba, “An Enhanced Test Case Generation Technique Based on Activity Diagrams”, In Proceedings of the Seventh International Conference on Computer Engineering and Systems (ICCES). November-December 2011. pp. 289-294
7. K. Pechtanun and S. Kansomkeat, “Generation Test Cases from UML Activity Diagram Based on AC Grammar”, International Conference on Computer and Information Science (ICCIS), Vol. 2, September 2012. pp. 895-899
8. R. K. Swain, V. Panthi, P. K. Behera, “Generation of Test Case using Activity Diagram”, International Journal of Computer Science and Informatics, Vol. 3, Issue. 2, November 2013. pp. 1-10
9. P. N. Boghdady, N. L. Badr, M. Hashem and M. F.Tolba, “A Proposed Test Case Generation Technique Based on Activity Diagrams”, International Journal of Engineering & Technology IJET/IJENS, Vol. 11, No. 03, June 2011. pp. 37-57
10. P. N. Boghdady, N. L. Badr, M. Hashem and M. F.Tolba, “An Enhanced Technique for Generating Hybrid Coverage Test Cases Using Activity Diagrams”, The 8th International Conference on INFOrmatics and Systems (INFO2012), May. 2012. pp. 20-28
