Software testing method and device based on private knowledge base
The invention relates to the field of software testing, in particular to a software testing method and device based on a private knowledge base. The method mainly comprises the steps of generating a first test case set through a large language model and a private knowledge base, and performing a gen...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to the field of software testing, in particular to a software testing method and device based on a private knowledge base. The method mainly comprises the steps of generating a first test case set through a large language model and a private knowledge base, and performing a generation test by using the first test case set; obtaining test case characteristics generated in the generation test, updating the first test case set by using the test case characteristics, and taking the updated first test case set as a second test case set; calculating a fitness evaluation value of each test case in the second test case set according to the test case characteristics, and sorting the test cases based on the fitness evaluation values; and according to the sequenced sequence, sequentially obtaining a specified number of test cases, and carrying out regression testing by using the obtained test cases. According to the method and the device, the maximum test effect can be achieved by using fewer test |
---|