Loading...

A Semi-Automated Software Test Case Generation for Test-driven Development

Shojaei Yeganeh, Mohsen | 2022

100 Viewed
  1. Type of Document: M.Sc. Thesis
  2. Language: Farsi
  3. Document No: 55715 (19)
  4. University: Sharif University of Technology
  5. Department: Computer Engineering
  6. Advisor(s): Mirian Hosseinabadi, Hassan
  7. Abstract:
  8. Test driven software development is one of the most important practices in agile software production. In this practice, the programmer must write appropriate test cases before implementing the desired program. That is, at first, he should know what the function of his desired program is, and then considering them, the test cases are implemented. The problem with this method is that the programmer may not have much experience in this work, and good test cases may not be produced, and at the same time, this work is very time-consuming. As a result, this method may be abandoned.In this thesis, an attempt is made to provide a systematic method to make the production of test cases for the program easier by following it. In this method, first, all the requirements that we have at the moment of starting the process are processed to match a set of standards defined by rules and each one is converted into a more formal and unambiguous format, then with requirements prioritization methods, we try to separate the more important and coarse-grained requirements from the finer-grained requirements. Then, each requirement is checked separately and test cases are generated using test case generation methods such as input space partitioning and other test case generation methods such as model-driven methods. On the other hand, requirements are implemented as a tree. With this work, the joints of leaves and tree trunks are another source for producing test items, and the methods of producing test items are also used for integrity testing so that the units are also tested.During the software production, this method acts as an incremental iterative process and the models produced for each measure are always reviewed and checked for the possibility of producing newer test cases. The presented method does not rely on a specific language
  9. Keywords:
  10. Test Driven Development (TDD) ; Software Testing ; Model Based Testing (MBT) ; Natural Language Processing ; Requirements Engineering ; Test Cases Generation

 Digital Object List

 Bookmark

No TOC