TWI655535B - Program changes management system and program changes management method - Google Patents

Program changes management system and program changes management method Download PDF

Info

Publication number
TWI655535B
TWI655535B TW106139517A TW106139517A TWI655535B TW I655535 B TWI655535 B TW I655535B TW 106139517 A TW106139517 A TW 106139517A TW 106139517 A TW106139517 A TW 106139517A TW I655535 B TWI655535 B TW I655535B
Authority
TW
Taiwan
Prior art keywords
test
case
result
program
report
Prior art date
Application number
TW106139517A
Other languages
Chinese (zh)
Other versions
TW201923579A (en
Inventor
卓劉胤
林繼彥
陳紹坤
Original Assignee
兆豐國際商業銀行股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 兆豐國際商業銀行股份有限公司 filed Critical 兆豐國際商業銀行股份有限公司
Priority to TW106139517A priority Critical patent/TWI655535B/en
Application granted granted Critical
Publication of TWI655535B publication Critical patent/TWI655535B/en
Publication of TW201923579A publication Critical patent/TW201923579A/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

本揭露提供一種程式異動管理系統,以輔助使用者進行開發測試輔助。程式異動管理系統具有通訊單元、儲存單元及處理單元。通訊單元與終端裝置連接,以接收終端裝置傳送的測試指令。此測試指令具有測試程式編號。儲存單元儲存測試報告產生模組及測試案例庫。處理單元與通訊單元及儲存單元耦接,處理單元執行測試報告產生模組。當通訊單元接收來自終端裝置的該測試指令時,測試報告產生模組查詢測試案例庫中,對應測試程式編號的必測案例,並依據測試指令及必測案例建立測試報告。本揭露另提供了相應的程式異動管理方法。The present disclosure provides a program change management system to assist a user in developing test assistance. The program change management system has a communication unit, a storage unit and a processing unit. The communication unit is connected to the terminal device to receive the test command transmitted by the terminal device. This test command has a test program number. The storage unit stores a test report generation module and a test case library. The processing unit is coupled to the communication unit and the storage unit, and the processing unit executes the test report generation module. When the communication unit receives the test instruction from the terminal device, the test report generation module queries the test case database, the corresponding test case corresponding to the test program number, and establishes a test report according to the test instruction and the mandatory test case. The disclosure further provides a corresponding program change management method.

Description

程式異動管理系統及程式異動管理方法Program change management system and program change management method

本發明是有關於一種管理技術,且特別是有關於一種程式異動管理系統及程式異動管理方法。The present invention relates to a management technique, and in particular to a program transaction management system and a program transaction management method.

應用系統的程式品質是推動電子化業務的基石,因此,在程式開發或異動的過程中,常以「實例測試」進行程式的品質控管。從品質控管的角度來看,在實例測試的過程中,雖然沒辦法針對所有個案進行實際測試,但可以依據過往的實測經驗而對特定程式進行實例測試。舉例來說,當特定程式執行實例測試的當下發生了程式異常,在未來當此特定程式發生異動並需進行實例測試時,即可依據過往的錯誤經驗而針對特定個案進行實例測試,以降低程式設計上常見的盲點及錯誤。The quality of the application system is the cornerstone of the electronic business. Therefore, in the process of program development or transaction, the quality control of the program is often performed by "instance test". From the perspective of quality control, in the process of the example test, although there is no way to conduct actual tests for all cases, the specific program can be tested according to the past experience. For example, when a program exception occurs in a specific program execution instance test, in the future when this particular program changes and needs to be tested in an instance, the instance test can be performed on a specific case based on past error experience to reduce the program. Common blind spots and errors in design.

然而,應用系統包括了上百隻的程式,若要針對每一個程式記錄其必須測試的個案,在管理上相當不容易。不僅如此,程式的使用可能是相當長久,並經過多次的修改。在此過程中,管理人員與測試人員可能會變換,導致必須測試的個案記錄變的雜亂或發生缺失,因而加深了管理的難度。基此,如何提供一個方便測試的管理機制為本領域技術人員所致力的課題。However, the application system includes hundreds of programs. It is not easy to manage the cases that must be tested for each program. Not only that, the use of the program may be quite long and has been modified several times. In this process, managers and testers may change, causing the case records that must be tested to become cluttered or missing, thus making management more difficult. Based on this, how to provide a management mechanism that is convenient for testing is a subject of the technical staff of the field.

本揭露提供一種程式異動管理系統及程式異動管理方法,以在對異動程式進行測試時,自動引進必測案例,以加強程式的品質管理。The present disclosure provides a program change management system and a program change management method for automatically introducing a test case to test the change of the program to enhance the quality management of the program.

本揭露的程式異動管理系統是用以輔助使用者進行開發測試輔助。此程式異動管理系統具有通訊單元、儲存單元及處理單元。通訊單元與終端裝置連接,以接收終端裝置傳送的測試指令。測試指令具有測試程式編號。儲存單元儲存測試報告產生模組及測試案例庫。處理單元與通訊單元及儲存單元耦接,處理單元執行測試報告產生模組。當通訊單元接收來自終端裝置的測試指令時,測試報告產生模組查詢測試案例庫中,對應測試程式編號的必測案例,並依據測試指令及必測案例建立測試報告。The program change management system disclosed in the present disclosure is used to assist the user in developing test support. The program change management system has a communication unit, a storage unit and a processing unit. The communication unit is connected to the terminal device to receive the test command transmitted by the terminal device. The test command has a test program number. The storage unit stores a test report generation module and a test case library. The processing unit is coupled to the communication unit and the storage unit, and the processing unit executes the test report generation module. When the communication unit receives the test instruction from the terminal device, the test report generation module queries the test case database, the corresponding test case corresponding to the test program number, and establishes the test report according to the test instruction and the mandatory test case.

本揭露的程式異動管理方法是用以輔助使用者進行開發測試輔助。此程式異動管理方法包括步驟:接收來自終端裝置的測試指令,其中測試指令具有測試程式編號;查詢對應測試程式編號的必測案例;以及依據測試指令及必測案例建立測試報告。The program change management method disclosed in the present disclosure is used to assist the user in developing test support. The program transaction management method includes the steps of: receiving a test command from a terminal device, wherein the test command has a test program number; querying a test case corresponding to the test program number; and establishing a test report according to the test command and the mandatory test case.

基於上述,本揭露所提供的程式異動管理系統及程式異動管理方法會在使用者針對欲測試的程式產生測試報告的同時,自動引入必須測試的必測案例。藉此,以確保必須測試的必測案例不會遺失或被遺忘,加強了程式的品質控管。Based on the above, the program change management system and the program change management method provided by the present disclosure automatically introduce a test case that must be tested while the user generates a test report for the program to be tested. In this way, to ensure that the necessary test cases that must be tested will not be lost or forgotten, the quality control of the program is strengthened.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.

本揭露所提供的程式異動管理系統是用以提供使用者透過終端裝置於程式異動管理系統中進行程式異動的管理,例如:程式異動版本記錄、測試報告記錄、異動時程管理等,特別是,使用者可以在欲對程式進行測試時,透過此程式異動管理系統獲取測試管理的輔助功能。The program change management system provided by the present disclosure is for providing user management of program changes in the program change management system through the terminal device, for example, program change version record, test report record, transaction time management, etc., in particular, The user can obtain the auxiliary function of the test management through the program change management system when the program is to be tested.

圖1繪示本揭露一實施例的程式異動管理系統的架構圖。請參考圖1,本揭露所提供的程式異動管理系統100與使用者的終端裝置10連接。終端裝置10為可供使用者操作並具有連線功能的裝置。例如:手機、個人電腦、筆記型電腦、平板電腦等,本揭露並不限制終端裝置10的類型。使用者可以透過終端裝置10以有線或無線的方式連接至程式異動管理系統100,以進行程式異動管理。FIG. 1 is a block diagram of a program change management system according to an embodiment of the present disclosure. Referring to FIG. 1, the program change management system 100 provided by the present disclosure is connected to the terminal device 10 of the user. The terminal device 10 is a device that is operable by a user and has a connection function. For example, a mobile phone, a personal computer, a notebook computer, a tablet computer, etc., the disclosure does not limit the type of the terminal device 10. The user can connect to the program change management system 100 through the terminal device 10 in a wired or wireless manner to perform program change management.

本揭露的程式異動管理系統100具有通訊單元110、儲存單元120以及處理單元130。通訊單元110用以傳送及接收使用者的操作訊號。在本揭露一實施例中,通訊單元110是以通訊晶片進行實作,通訊晶片可為支援全球行動通信(Global System for Mobile communication, GSM)、個人手持式電話系統(Personal Handy-phone System, PHS)、碼多重擷取(Code Division Multiple Access, CDMA)系統、寬頻碼分多址(Wideband Code Division Multiple Access, WCDMA)系統、長期演進(Long Term Evolution, LTE)系統、全球互通微波存取(Worldwide interoperability for Microwave Access, WiMAX)系統、無線保真(Wireless Fidelity, Wi-Fi)系統或藍牙的信號傳輸的元件。The program change management system 100 of the present disclosure has a communication unit 110, a storage unit 120, and a processing unit 130. The communication unit 110 is configured to transmit and receive an operation signal of the user. In an embodiment of the disclosure, the communication unit 110 is implemented by using a communication chip, which can support Global System for Mobile communication (GSM), Personal Handy-phone System (PHS). ), Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, Long Term Evolution (LTE) system, Worldwide Interoperability for Microwave Access (Worldwide) Interoperability for Microwave Access, WiMAX) systems, Wireless Fidelity (Wi-Fi) systems, or Bluetooth signal transmission components.

儲存單元120是用以儲存運行程式異動管理系統100時所需的軟體、資料及各類程式碼。儲存單元120可以是任何型態的固定或可移動隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(flash memory)、硬碟(Hard Disk Drive,HDD)、固態硬碟(Solid State Drive,SSD)或類似元件或上述元件的組合。The storage unit 120 is configured to store software, data, and various types of programs required to run the program change management system 100. The storage unit 120 can be any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory, hard disk. (Hard Disk Drive, HDD), Solid State Drive (SSD) or the like or a combination of the above.

處理單元130與通訊單元110及儲存單元120連接。處理單元130可以是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位信號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)或其他類似元件或上述元件的組合,本揭露不限於此。The processing unit 130 is connected to the communication unit 110 and the storage unit 120. The processing unit 130 can be a central processing unit (CPU), or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (DSP), programmable The controller, the Application Specific Integrated Circuit (ASIC) or the like or a combination of the above elements, the disclosure is not limited thereto.

為了確保使用者,特別是異動工程師與測試人員,能夠在程式異動的過程中,依據過往的實測經驗而對特定程式的必須測試的個案(以下簡稱必測個案)進行測試,本揭露的儲存單元120進一步設置了測試報告產生模組122、測試案例庫124、以及測試報告結果庫126。In order to ensure that the user, in particular the transaction engineer and the tester, can test the case of the specific program that must be tested (hereinafter referred to as the mandatory case) in the process of the program change according to the past actual measurement experience, the storage unit of the present disclosure The test report generation module 122, the test case library 124, and the test report result library 126 are further provided.

測試報告產生模組122用以存取測試案例庫124以及測試報告結果庫126。測試報告產生模組122會存取測試案例庫124,並依據其存取的資料產生測試報告。並且,測試報告產生模組122亦會依據測試後的案例測試結果以及測試報告產生測試報告結果,並儲存於測試報告結果庫中。測試報告產生模組122產生測試報告及測試報告結果的方法將於稍後詳述。The test report generation module 122 is configured to access the test case library 124 and the test report result library 126. The test report generation module 122 accesses the test case library 124 and generates a test report based on the data accessed by the test. Moreover, the test report generation module 122 also generates test report results according to the test case test results and the test report, and stores them in the test report result library. The method by which test report generation module 122 generates test reports and test report results will be detailed later.

測試案例庫124儲存了多筆的測試案例,以記載此筆測試案例所對應的程式編號以及其是否為必須測量的個案,這些測試案例是在實際操作應用系統的程式時可能會發生的案例。以表一為例,其揭露了一實施例的測試案例。 <TABLE border="1" borderColor="#000000" width="85%"><TBODY><tr><td> 案例編號 </td><td> EX201710231042 </td></tr><tr><td> 分類 </td><td> 帳務處理-進扣帳 </td></tr><tr><td> 測試內容 </td><td> 設定為他行帳號之買家會員進行儲值帳戶提領時,跨行交易金額應減去跨行手續費客戶應付金額(如:每筆15元)。 </td></tr><tr><td> 測試步驟 </td><td> 1. 買家會員設定為他行帳號。 2. 查詢儲值帳戶餘額,從儲值帳戶提領新台幣1,000元。 </td></tr><tr><td> 測試結果檢視方法 </td><td> 跨行轉帳交易完成後從他行帳戶入帳新台幣985元。 </td></tr><tr><td> 測試必要性 </td><td> 1. 必測(PPP001) 2. 選測(AAA001) </td></tr><tr><td> 必測原因 </td><td> 2017-001共同意見 </td></tr><tr><td> 程式編號 </td><td> 1. PPP001 2. AAA001 </td></tr><tr><td> 案件使用記錄 </td><td> 序號 </td><td> 測試日期 </td><td> 測試報告編號 </td><td> 異動編號 </td></tr><tr><td> 1 </td><td> 2017/10/23 </td><td> PR2017001 </td><td> I-2017-020 </td></tr><tr><td> 建檔日期 </td><td> 2017/10/23 </td></tr></TBODY></TABLE>表一:測試案例 在表一的測試案例中記載了此測試案例的案例編號、分類、測試內容、詳細的測試內容、步驟及結果檢視方法。特別是,在測試案例中更記載了其測試必要性以及對應的程式編號,即,對於程式編號為PPP001的程式而言,案例編號為EX201710231042的測試案例為必測的。因此在後續的測試過程中,若程式編號為PPP001的程式發生異動而必須要進行測試時,測試報告產生模組122會自動將案例編號為EX201710231042的測試案例引進測試報告中。 The test case library 124 stores a plurality of test cases to record the program number corresponding to the test case and whether it is a case that must be measured. These test cases are cases that may occur when the application system program is actually operated. Taking Table 1 as an example, it discloses a test case of an embodiment.  <TABLE border="1" borderColor="#000000" width="85%"><TBODY><tr><td> Case number</td><td> EX201710231042 </td></tr><tr> <td> Classification</td><td> Account Processing - Advance Account</td></tr><tr><td> Test Content</td><td> Set as Buyer Member of the Bank Account When the stored value account is deducted, the cross-bank transaction amount should be reduced by the inter-banking fee payable (for example, 15 yuan each). </td></tr><tr><td> Test Steps </td><td> 1. The buyer member is set to his account. 2. Query the stored value account balance and withdraw NT$1,000 from the stored value account. </td></tr><tr><td> Test Results Viewing Method </td><td> After the interbank transfer transaction is completed, NT$985 will be credited from his account. </td></tr><tr><td> Test necessity</td><td> 1. Must test (PPP001) 2. Select test (AAA001) </td></tr><tr>< Td> Reasons for </td><td> 2017-001 Common Opinion</td></tr><tr><td> Program Number</td><td> 1. PPP001 2. AAA001 </td> </tr><tr><td> Case usage record</td><td> Serial number</td><td> Test date</td><td> Test report number</td><td> Transaction number< /td></tr><tr><td> 1 </td><td> 2017/10/23 </td><td> PR2017001 </td><td> I-2017-020 </td> </tr><tr><td> Date of Archival</td><td> 2017/10/23 </td></tr></TBODY></TABLE> Table 1: Test Cases in Table 1 The test case records the case number, classification, test content, detailed test content, steps and results inspection method of this test case. In particular, the test case and the corresponding program number are recorded in the test case. That is, for the program with the program number PPP001, the test case with the case number EX201710231042 is mandatory. Therefore, in the subsequent test process, if the program with the program number PPP001 has to be tested and must be tested, the test report generation module 122 automatically introduces the test case with the case number EX201710231042 into the test report.  

須說明的是,同一筆測試案例可以對應至多個不同的程式,並且於不同的程式中,同一筆測試案例的測試必要性不一定相同。以上述例子為例,對於程式編號為AAA001的程式而言,案例編號為EX201710231042的測試案例為選測的。因此在後續的測試過程中,若程式編號為PPP001的程式發生異動而必須要進行測試時,測試報告產生模組122並不會自動將案例編號為EX201710231042的測試案例引進測試報告中。在某些實施例中,測試報告產生模組122會提供案例編號為EX201710231042的測試案例供使用者選擇是否對選測案例進行測試。It should be noted that the same test case can correspond to a plurality of different programs, and the test necessity of the same test case is not necessarily the same in different programs. Taking the above example as an example, for the program with the program number AAA001, the test case with the case number EX201710231042 is selected. Therefore, in the subsequent test process, if the program with the program number PPP001 has to be tested and the test must be performed, the test report generation module 122 does not automatically introduce the test case with the case number EX201710231042 into the test report. In some embodiments, the test report generation module 122 provides a test case with the case number EX201710231042 for the user to select whether to test the selected test case.

測試報告結果庫126則儲存了每一次使用者所執行完並儲存的測試報告結果,以便使用者於後續程式管理的過程中進行查詢,並依據測試報告結果修改程式內容。The test report result library 126 stores the test report results executed and stored by the user each time, so that the user can query in the process of subsequent program management, and modify the program content according to the test report results.

在本揭露的一實施例中,測試報告產生模組122會提供程式異動輸入介面、案例輸入介面以及測試報告產生介面,以供使用者輸入程式異動、測試案例以及測試報告相關的資料。例如,程式異動管理員會透過程式異動輸入介面輸入本次程式異動的專案資料,程式異動工程師會於程式異動輸入介面輸入其所更動的程式以及歷程,而測試工程師會透過案例輸入介面建立多筆案例及對應的程式,並透過測試報告產生介面填寫本次測試的專案名稱、測試程式編號等資訊,然而本揭露並不以上述的執行者以及其輸入的資料為限。In an embodiment of the present disclosure, the test report generation module 122 provides a program transaction input interface, a case input interface, and a test report generation interface for the user to input program related information, test cases, and test report related data. For example, the program change manager will input the program data of the program change through the program input interface. The program change engineer will input the changed program and history in the program change input interface, and the test engineer will create multiple files through the case input interface. The case and the corresponding program, and through the test report interface to fill in the project name, test program number and other information of this test, however, this disclosure is not limited to the above-mentioned performers and the information they input.

圖2繪示本揭露一實施例的程式異動管理方法的流程圖。以下將搭配圖2說明本揭露程式異動管理系統執行程式異動管理方法的細節。在本揭露的實施例中,程式異動管理系統100的處理單元130會持續運行測試報告產生模組122。FIG. 2 is a flow chart of a program change management method according to an embodiment of the present disclosure. The details of the method for managing the program change management of the program change management system will be described below with reference to FIG. In the embodiment of the present disclosure, the processing unit 130 of the program change management system 100 continuously runs the test report generation module 122.

需說明的是,在本實施例中,於異動管理系統100運行程式異動管理方法前,程式異動管理員須先輸入程式異動的專案資料與異動單編號。接著,程式異動工程師會先以異動單編號為依據,輸入其所負責修改的程式編號以及修改內容,以對修改的程式建檔。It should be noted that, in this embodiment, before the transaction management system 100 runs the program change management method, the program change manager must first input the program data and the transaction number of the program change. Then, the program change engineer will first enter the program number and modification content of the program to be modified based on the transaction number, to file the modified program.

在測試階段,使用者(例如:測試人員)會以異動單編號為依據,選取欲測試的程式及輸入其他與測試相關的資料。於使用者輸入完測試資料後,使用者會透過終端裝置10傳送對應測試資料的測試指令至程式異動管理系統。在本實施例中,測試指令具有報告的建立日期、異動單編號、測試程式編號、執行測試報告的人員等。During the testing phase, the user (for example, the tester) will select the program to be tested and input other test-related data based on the transaction number. After the user inputs the test data, the user transmits a test command corresponding to the test data to the program change management system through the terminal device 10. In this embodiment, the test command has a report creation date, a transaction number, a test program number, a person who executes the test report, and the like.

此時,於步驟S210,通訊單元110接收來自終端裝置10的測試指令時,測試報告產生模組122會查詢測試案例庫124中對應測試程式編號的必測案例(即:在對應欲測試的程式編號中,測試必要性記載為必測的測試案例)。At this time, in step S210, when the communication unit 110 receives the test instruction from the terminal device 10, the test report generation module 122 queries the test case number corresponding to the test program number in the test case library 124 (ie, in the corresponding program to be tested) In the number, the test necessity is recorded as a mandatory test case).

於步驟S220,測試報告產生模組122會依據來自終端裝置10的測試指令以及必測案例建立測試報告。In step S220, the test report generation module 122 establishes a test report according to the test instructions from the terminal device 10 and the necessary test cases.

具體來說,於步驟S210~S220中,測試報告產生模組122會依據測試指令中,對於欲測試的程式的異動編號、欲測試的程式編號、報告建立日期、執行測試報告的人員等建立測試報告的基本資料。並且,測試報告產生模組122會依據測試指令中所夾帶的測試程式編號,於測試案例庫中查詢對應測試程式編號的案例。於找到對應欲測試程式編號的案例後,若在對應欲測試的程式編號中,測試必要性記載為必測,則測試報告產生模組122會在此測試報告中自動顯示此筆測試案例,以將此筆測試案例列為必要的測試項目。Specifically, in steps S210-S220, the test report generation module 122 establishes a test according to the test instruction, the change number of the program to be tested, the program number to be tested, the report establishment date, and the person who executes the test report. Basic information of the report. Moreover, the test report generation module 122 queries the test case library for the case corresponding to the test program number according to the test program number carried in the test command. After the case corresponding to the program number to be tested is found, if the test necessity is recorded as a mandatory test in the program number corresponding to the test, the test report generation module 122 automatically displays the test case in the test report to List this test case as a necessary test item.

若在對應欲測試的程式編號中,測試必要性記載為選測,則測試報告產生模組122可以選擇性的顯示此筆案例,以供使用者選擇是否針對此筆案例進行測試。於使用者選擇選測案例後,測試報告產生模組122會依據測試報告的基本資料、必測案例及經使用者選擇的選測案例產生測試報告,並顯示於終端裝置10上,以供使用者依據此測試報告進行測試。If the test necessity is recorded as the selection test in the program number corresponding to the test, the test report generation module 122 can selectively display the case for the user to select whether to test the case. After the user selects the selected test case, the test report generation module 122 generates a test report according to the basic data of the test report, the required test case, and the selected test case selected by the user, and displays it on the terminal device 10 for use. The test is based on this test report.

須說明的是,在本揭露的設計中,必測案例的新增與刪除僅能夠透過案例新增介面進行刪減。而於後續測試的過程中,使用者不得透過終端裝置10刪除測試報告中的必測案例。並且為了保證所有必測案例都已經被測試完畢,測試報告產生模組122僅在所有必測案例都已經具備對應案例測試結果後,才會將測試報告的狀態改成已完成。基此,可以確保使用者在測試程式時,已將所有的必測案例都列出來並進行測試,以減少測試時的盲點。It should be noted that in the design of this disclosure, the addition and deletion of the mandatory cases can only be deleted through the new interface of the case. In the process of subsequent testing, the user may not delete the mandatory case in the test report through the terminal device 10. And in order to ensure that all the necessary test cases have been tested, the test report generation module 122 will change the status of the test report to completed only after all the necessary test cases have the corresponding case test results. Based on this, it can be ensured that the user has listed all the necessary test cases and tested them when testing the program to reduce the blind spots during the test.

於步驟S230,使用者進行測試,並透過終端裝置10輸入案例測試結果。具體來說,在本揭露的實施例中,使用者進行測試的過程是由人工進行操作。也就是說,使用者會依據必測案例及選測案例的測試步驟進行操作,並將案例測試結果輸入至測試報告中。In step S230, the user performs a test and inputs a case test result through the terminal device 10. Specifically, in the embodiment of the present disclosure, the process of the user performing the test is performed manually. That is to say, the user will operate according to the test steps of the test case and the selected test case, and input the case test result into the test report.

須說明的是,本揭露並不限制使用者輸入執行結果的方式,例如,使用者可直接將程式執行完畢所產生的數值的視為案例測試結果,以將此案例測試結果輸入至測試報告,再由測試報告產生模組122判斷此案例測試結果是否符合測試結果檢視方法所記錄的數值。或者是,使用者也可以自行判斷程式所執行的結果是否符合測試結果檢視方法,並將符合/不符合視作案例測試結果以輸入至測試報告。It should be noted that the disclosure does not limit the manner in which the user inputs the execution result. For example, the user can directly regard the value generated by the execution of the program as the case test result, and input the case test result into the test report. The test report generation module 122 determines whether the test result of the case meets the value recorded by the test result view method. Alternatively, the user can also determine whether the result of the program is in compliance with the test result viewing method, and the compliance/non-conformity is regarded as the case test result to be input to the test report.

在其他的實施例中,在測試報告產生模組122產生測試報告之後,使用者可以透過終端裝置10發出案例測試指令至測試報告產生模組122,以使測試報告產生模組122依據測試步驟將對應的數值與環境輸入至欲測試的程式中,藉此產生案例測試結果。實際上,使用者進行測試的方式及輸入的案例測試結果的樣是會依據實際需求與設計有所變更,本揭露並不限於此。In other embodiments, after the test report generation module 122 generates the test report, the user can issue a case test command to the test report generation module 122 through the terminal device 10, so that the test report generation module 122 according to the test step The corresponding values and environment are entered into the program to be tested, thereby generating a case test result. In fact, the manner in which the user performs the test and the result of the input case test are changed according to actual needs and design, and the disclosure is not limited thereto.

於步驟S240,當測試報告產生模組122接收到來自終端裝置10的測試報告結果產生指令時,測試報告產生模組122會依據測試報告以及案例測試結果產生測試報告結果。須注意的是,為了保證所有必測案例都已經被測試完畢,於執行步驟S240前,測試報告產生模組122會判斷測試報告中的所有必測案例是否都已經具備對應案例測試結果。若測試報告產生模組122判斷所有必測案例皆測試完畢時,測試報告產生模組122才能夠執行步驟S240。反之,若測試報告產生模組122判斷仍有必測案例尚未測試完畢時,則測試報告產生模組122並不會執行步驟S240。In step S240, when the test report generation module 122 receives the test report result generation instruction from the terminal device 10, the test report generation module 122 generates a test report result according to the test report and the case test result. It should be noted that, in order to ensure that all the required test cases have been tested, before the execution of step S240, the test report generation module 122 determines whether all the test cases in the test report have the corresponding case test results. If the test report generation module 122 determines that all the test cases have been tested, the test report generation module 122 can perform step S240. On the other hand, if the test report generation module 122 determines that the test case has not been tested yet, the test report generation module 122 does not perform step S240.

此外,於執行步驟S240時,測試報告產生模組122同時會將測試報告的狀態改為已完成,並將測試報告結果儲存於測試報告結果庫126中。須說明的是,於此所述的測試報告結果為所有測試案例的總結與整理。In addition, when step S240 is executed, the test report generation module 122 simultaneously changes the status of the test report to completed, and stores the test report result in the test report result library 126. It should be noted that the test report results described here are the summary and collation of all test cases.

於步驟S250。測試報告產生模組122會將測試報告結果回傳至終端裝置10,以讓使用者閱覽最後產生的測試報告結果。In step S250. The test report generation module 122 transmits the test report results back to the terminal device 10 to allow the user to view the results of the last generated test report.

綜上所述,本揭露所提供的程式異動管理系統及程式異動管理方法會在使用者針對欲測試的程式產生測試報告的同時,依據欲測試的程式編號自動引入必須測試的必測案例。藉此,於需測試異動程式時,確保必須測試的必測案例不會被遺忘。並且,於控管人員發生異動時,這些必測案例也不會遺失,因而加強了程式的品質控管。In summary, the program change management system and the program change management method provided by the present disclosure automatically introduce a test case that must be tested according to the program number to be tested, while the user generates a test report for the program to be tested. In this way, when testing the transaction, it is necessary to ensure that the necessary test cases that must be tested are not forgotten. Moreover, when the control personnel change, these must-test cases will not be lost, thus strengthening the quality control of the program.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

10‧‧‧終端裝置10‧‧‧ Terminal devices

100‧‧‧程式異動管理系統100‧‧‧Programming Management System

110‧‧‧通訊單元110‧‧‧Communication unit

120‧‧‧儲存單元120‧‧‧ storage unit

122‧‧‧測試報告產生模組122‧‧‧Test report generation module

124‧‧‧測試案例庫124‧‧‧Test case library

126‧‧‧測試報告結果庫126‧‧‧Test report result library

130‧‧‧處理單元130‧‧‧Processing unit

S210~S240‧‧‧程式異動管理方法的步驟S210~S240‧‧‧Steps of Program Change Management Method

圖1繪示本揭露一實施例的程式異動管理系統的架構圖。 圖2繪示本揭露一實施例的程式異動管理方法的流程圖。FIG. 1 is a block diagram of a program change management system according to an embodiment of the present disclosure. FIG. 2 is a flow chart of a program change management method according to an embodiment of the present disclosure.

Claims (10)

一種程式異動管理系統,以輔助使用者進行開發測試輔助,該程式異動管理系統包括:通訊單元,與終端裝置連接,以接收該終端裝置傳送的測試指令,其中,該測試指令包括測試程式編號;儲存單元,儲存測試報告產生模組及測試案例庫,其中該測試案例庫包括多個測試案例,且該些測試案例分別對應至至少一程式編號,且該程式編號對應至一測試必要性;以及處理單元,與該通訊單元及該儲存單元耦接,該處理單元執行該測試報告產生模組,其中,當該通訊單元接收來自該終端裝置的該測試指令以及選測案例選擇指令時,該測試報告產生模組依據該測試案例庫中該些測試案例對應的該程式編號,查詢對應該測試程式編號且該測試必要性為必要的必測案例,並依據該測試指令及查詢到的該必測案例以及相應該選測案例選測指令的選測案例建立測試報告。 A program change management system is provided to assist a user in developing test support. The program change management system includes: a communication unit connected to the terminal device to receive a test command transmitted by the terminal device, wherein the test command includes a test program number; a storage unit, a test report generation module and a test case library, wherein the test case library includes a plurality of test cases, and the test cases respectively correspond to at least one program number, and the program number corresponds to a test necessity; a processing unit coupled to the communication unit and the storage unit, the processing unit executing the test report generation module, wherein when the communication unit receives the test command from the terminal device and selects a test case selection command, the test The report generation module queries the program number corresponding to the test cases in the test case library, and queries the necessary test case corresponding to the test program number and the necessity of the test, and according to the test instruction and the checked test result. Case and corresponding test case selection test of the selected test case Report. 如申請專利範圍第1項所述的程式異動管理系統,其中當該通訊單元接收來自該終端裝置輸入的案例測試結果以及測試報告結果產生指令,該測試報告產生模組依據該測試報告及該案例測試結果產生測試報告結果,並將該測試報告結果回傳至該終端裝置。 The program transaction management system of claim 1, wherein the communication unit receives the case test result input from the terminal device and the test report result generation instruction, and the test report generation module is based on the test report and the case The test result produces a test report result, and the test report result is transmitted back to the terminal device. 如申請專利範圍第2項所述的程式異動管理系統,其中於該通訊單元接收來自該終端裝置輸入的該測試報告結果產生指令後,該測試報告產生模組更判斷該測試報告中的該必測案例是否已經具備該案例測試結果,若該測試報告產生模組判斷該必測案例已具備該案例測試結果,該測試報告產生模組依據該測試報告及該案例測試結果產生測試報告結果,並將該測試報告結果回傳至該終端裝置,若該測試報告產生模組判斷該必測案例不具備該案例測試結果,該測試報告產生模組回傳錯誤訊息至該終端裝置。 The program transaction management system of claim 2, wherein after the communication unit receives the test report result generation instruction input from the terminal device, the test report generation module further determines the must in the test report If the test report generation module determines that the test case has the test result of the case, the test report generation module generates a test report result according to the test report and the case test result, and The test report result is sent back to the terminal device. If the test report generation module determines that the test case does not have the case test result, the test report generation module returns an error message to the terminal device. 如申請專利範圍第1項所述的程式異動管理系統,其中當該通訊單元接收到來自該終端裝置的案例測試指令,該測試報告產生模組依據該必測案例的測試步驟,將對應該必測案例的數值與環境輸入至該測試程式中,以產生案例測試結果,其中,當該通訊單元接收來自該終端裝置輸入的該案例測試結果以及測試報告結果產生指令,該測試報告產生模組依據該測試報告及該案例測試結果產生測試報告結果,並將該測試報告結果回傳至該終端裝置。 The program transaction management system of claim 1, wherein when the communication unit receives a case test instruction from the terminal device, the test report generation module according to the test step of the mandatory case, The value of the test case and the environment are input into the test program to generate a case test result, wherein when the communication unit receives the case test result input from the terminal device and the test report result generation instruction, the test report generation module basis The test report and the test result of the case generate a test report result, and the test report result is transmitted back to the terminal device. 如申請專利範圍第1項所述的程式異動管理系統,其中,該測試報告中的該必測案例不得被刪除。 The program transaction management system described in claim 1, wherein the test case in the test report cannot be deleted. 一種程式異動管理方法,以輔助使用者進行開發測試輔助,該程式異動管理方法包括步驟:接收來自終端裝置的測試指令以及選測案例選擇指令,其中 該測試指令包括測試程式編號;依據測試案例對應的程式編號查詢測試案例資料庫中對應該測試程式編號且測試必要性為必要的必測案例;以及依據該測試指令及查詢到的該必測案例以及相應該選測案例選測指令的選測案例建立測試報告。 A program change management method for assisting a user in developing test assistance, the program change management method comprising the steps of: receiving a test instruction from a terminal device and selecting a test case selection instruction, wherein The test instruction includes a test program number; the necessary test case corresponding to the test program number and the necessity of the test is inquired according to the program number corresponding to the test case; and the required test case according to the test instruction and the query And a test report is established corresponding to the selected test case of the selected test case selection test instruction. 如申請專利範圍第6項所述的程式異動管理方法,更包括步驟:接收來自該終端裝置輸入的案例測試結果以及測試報告結果產生指令;依據該測試報告及該案例測試結果產生測試報告結果;以及將該測試報告結果回傳至該終端裝置。 The method for managing a program change according to claim 6, further comprising the steps of: receiving a case test result input from the terminal device and a test report result generating instruction; and generating a test report result according to the test report and the case test result; And returning the test report result to the terminal device. 如申請專利範圍第7項所述的程式異動管理方法,其中於接收來自該終端裝置輸入的該測試報告結果產生指令後,判斷該測試報告中的該必測案例是否已經具備該案例測試結果,若該必測案例已具備該案例測試結果,依據該測試報告及該案例測試結果產生測試報告結果,並將該測試報告結果回傳至該終端裝置,若該必測案例不具備該案例測試結果,回傳錯誤訊息至該終端裝置。 The program transaction management method of claim 7, wherein after receiving the test report result generating instruction input from the terminal device, determining whether the test case in the test report already has the case test result, If the test case has the test result of the case, the test report result is generated according to the test report and the test result of the case, and the test report result is returned to the terminal device, and if the test case does not have the case test result , return error message to the terminal device. 如申請專利範圍第6項所述的程式異動管理方法,其中當接收到來自該終端裝置的案例測試指令,依據該必測案例的測 試步驟,將對應該必測案例的數值與環境輸入至該測試程式中,以產生案例測試結果,其中當接收來自該終端裝置輸入的該案例測試結果以及測試報告結果產生指令,依據該測試報告及該案例測試結果產生測試報告結果,並將該測試報告結果回傳至該終端裝置。 The program transaction management method according to claim 6, wherein when the case test instruction from the terminal device is received, the test is based on the test case a test step of inputting a value and environment corresponding to the case to be tested into the test program to generate a case test result, wherein when the case test result received from the terminal device input and the test report result generation instruction are generated, according to the test report And the case test result produces a test report result, and the test report result is transmitted back to the terminal device. 如申請專利範圍第6項所述的程式異動管理方法,其中,該測試報告中的該必測案例不得被刪除。 The method for managing a program change according to claim 6, wherein the test case in the test report cannot be deleted.
TW106139517A 2017-11-15 2017-11-15 Program changes management system and program changes management method TWI655535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106139517A TWI655535B (en) 2017-11-15 2017-11-15 Program changes management system and program changes management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106139517A TWI655535B (en) 2017-11-15 2017-11-15 Program changes management system and program changes management method

Publications (2)

Publication Number Publication Date
TWI655535B true TWI655535B (en) 2019-04-01
TW201923579A TW201923579A (en) 2019-06-16

Family

ID=66996022

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106139517A TWI655535B (en) 2017-11-15 2017-11-15 Program changes management system and program changes management method

Country Status (1)

Country Link
TW (1) TWI655535B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200741450A (en) * 2005-09-23 2007-11-01 Ericsson Telefon Ab L M Method and system for dynamic probes for injection and extraction of data for test and monitoring of software
US20080126867A1 (en) * 2006-08-30 2008-05-29 Vinod Pandarinathan Method and system for selective regression testing
TW201512838A (en) * 2013-09-27 2015-04-01 Chunghwa Telecom Co Ltd Test case prioritizing method
US9111030B1 (en) * 2008-10-03 2015-08-18 Federal Home Loan Mortgage Corporation Systems and methods for testing a software application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200741450A (en) * 2005-09-23 2007-11-01 Ericsson Telefon Ab L M Method and system for dynamic probes for injection and extraction of data for test and monitoring of software
US20080126867A1 (en) * 2006-08-30 2008-05-29 Vinod Pandarinathan Method and system for selective regression testing
US9111030B1 (en) * 2008-10-03 2015-08-18 Federal Home Loan Mortgage Corporation Systems and methods for testing a software application
TW201512838A (en) * 2013-09-27 2015-04-01 Chunghwa Telecom Co Ltd Test case prioritizing method

Also Published As

Publication number Publication date
TW201923579A (en) 2019-06-16

Similar Documents

Publication Publication Date Title
US10318412B1 (en) Systems, methods, and apparatus for dynamic software generation and testing
US8341590B1 (en) System for relating workflow status to code component status in a software project
US20150169431A1 (en) Process for displaying test coverage data during code reviews
US10922212B2 (en) Systems and methods for service catalog analysis
US20080276225A1 (en) Testing Executable Logic
CN107220066B (en) Method and device for releasing application software in application store
CN111611172A (en) Project test defect analysis method, device, equipment and storage medium
CN111522728A (en) Method for generating automatic test case, electronic device and readable storage medium
CN107784230B (en) The restorative procedure and device of page loophole
US10936396B2 (en) Systems and methods for validation of test results in network testing
CN112069073A (en) Test case management method, terminal and storage medium
CN110888804B (en) Interface test method and interface test platform
CN114996127A (en) Intelligent test method and system for solid state disk firmware module
TWI655535B (en) Program changes management system and program changes management method
CN113656022B (en) Software development method and device, computer equipment and storage medium
EP1653348A1 (en) Method for tracking transport requests and computer system with trackable transport requests
CN105718367A (en) Method and system for automatically evaluating quality of IP core
TWM558390U (en) Program changes management system
TWI393897B (en) Integrated test method and system using the same
CN115203300A (en) Data verification method and device
CN114185772A (en) Software testing method and device, storage medium and computer equipment
US8812350B2 (en) Service evolution approach in SOA
US20080120554A1 (en) SYSTEM &amp; METHOD FOR FRAME DATA MANAGEMENT SYSTEM (eFDMS)
US20080066005A1 (en) Systems and Methods of Interfacing with Enterprise Resource Planning Systems
CN116244179B (en) System firmware measuring method capable of self-improving