Full test cycle document generation system based on self-defined template

Through a full-test cycle document generation system based on custom templates, the problem of time compression in development and testing is solved, and the automated data recording and document output process is realized, which improves work efficiency and data consistency.

CN119512928APending Publication Date: 2025-02-25INSPUR QILU SOFTWARE IND
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411398399.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

During the intense software project development cycle, the time compression of the development and testing links makes it difficult for developers to take into account core coding and auxiliary work such as data statistics and document generation.

Method used

Provide a full-test cycle document generation system based on custom templates, including project management module, data module, document generation module, log module and database. The system simplifies the document generation process by filling data quickly generates document files that comply with syntax specifications.

Benefits of technology

It realizes the automation of data recording and document output processes, improves the work efficiency of the test process, compresses the flow of links of the test process, ensures data consistency and durability, and simplifies document management and generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119512928A_ABST
    Figure CN119512928A_ABST
Patent Text Reader

Abstract

The invention provides a full test cycle document generation system based on a user-defined template, which belongs to the technical field of internet process management and comprises a project management module, a data processing module, a document generation module, a log module and a database. According to the method, a test document is sorted according with a grammar specification, so that a multi-case data coupled document file can be quickly generated by filling data; according to the invention, the user can be helped to quickly organize the test data and generate the required test document. Various document files can be generated through the document template self-defined by the jinji2 grammar, so that the user is helped to reduce the cost of sorting test data, and the probability of document data disorder is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet process management, and in particular to a full-test cycle document generation system based on a custom template. Background Art

[0002] After decades of vigorous development in the Internet industry, various technical fields have matured and market competition has become increasingly fierce. A company's core competitiveness is no longer reflected only in technological innovation, but has shifted more to project process management. How to ensure the efficient flow between key processes such as development and testing has become a key consideration for companies to improve overall operational efficiency and product quality. In a mature Internet ecosystem, the optimization of process management can not only shorten the cycle from product concept to market, but also significantly reduce costs and improve customer satisfaction, thereby occupying a favorable position in the fierce market competition.

[0003] 1. Tight project cycle: With the intensification of market competition, the development cycle of software projects has been continuously compressed, and the time arrangement of development and testing has become extremely tight, which has put higher requirements on the testing team.

[0004] 2. Process time compression problem: In a tight project schedule, the time for each link is severely compressed, making it difficult for developers to balance auxiliary work such as data statistics and document generation while doing core coding work.

[0005] 3. The need for automated tools: In order to solve the problem of time constraints during the development process, the application of automated tools becomes particularly important. These tools can efficiently complete tasks such as data statistics and document generation, reducing the burden on developers.

[0006] 4. Improve efficiency and quality: By introducing automation tools, not only can the work efficiency of the development team be improved, but also the accuracy of data statistics and the standardization of documents can be ensured, thereby improving the quality and reliability of the entire software project. Summary of the invention

[0007] In order to solve the above technical problems, the present invention provides a full test cycle document generation system based on a custom template, which can quickly generate document files with multiple data couplings by filling in data by arranging the test documents in accordance with grammatical specifications.

[0008] The technical solution of the present invention is:

[0009] A full test cycle document generation system based on custom templates, including:

[0010] Project management module, responsible for the life cycle management of the entire test document generation;

[0011] The data module is the data entry management of the system. It is used to obtain the test data on the data management platform and the report content information customized by the system users, and convert the relevant data format to transmit it to the document generation module;

[0012] The main function of the document generation module is to fill the formatted data into the custom word template to generate a test report;

[0013] The log module records the operations performed by users and the document information generated. Users can view and obtain all document data ever generated in the project through the log, and can also download the document files ever generated from the log;

[0014] The database is used to persist user-defined data content, generated document information, and user operation records.

[0015] Furthermore,

[0016] The project management module provides the creation, editing, and deletion functions of projects and generation plans to ensure orderly management of projects; this module can be associated with projects on the data management system to facilitate users to manage the relationship between test platform data and user-defined data.

[0017] Furthermore,

[0018] The data module supports the processing of all types of document data in the test cycle. Customized template documents for different cycles have different receipt pages. You can fill in the data content required by the corresponding document according to the page prompts.

[0019] Furthermore,

[0020] The document generation module uses the Jinji2 grammar rules to constrain the custom word template. By adding feature values ​​to the template document, the formatted data can correspond to the feature values ​​one by one, thereby replacing the feature values ​​with the data content to be filled in.

[0021] By modifying the style and layout of the feature values, you can customize the format of the generated document.

[0022] Custom data types include titles, paragraphs, images, and text. Users can reference data variables through the "{{}}" symbol, and can also process different data contents under several conditions by writing logical processing statements.

[0023] After processing is completed, you can browse and view the document on the front-end page, or save the document to your local computer through the page button.

[0024] Furthermore,

[0025] When processing test data, the data body structure is regularized through the quick sorting method, multiple related data bodies are integrated using global marking points, and XML structure data is written to organize the ordered multi-layer title content generated in the word document and generate the document's directory structure and document page number.

[0026] The beneficial effects of the present invention are

[0027] (I) It has opened up the automation of data recording and document output processes, improved the work efficiency of the testing process, and compressed the flow of links in the testing process.

[0028] (2) The comprehensive platformization of data ensures its consistency and persistence, and effectively avoids the risk of data anomalies or loss.

[0029] (3) It is convenient for managers to integrate test documents and test data and to compile statistics on test results of different projects.

[0030] (IV) Customized templates can easily adapt to different needs and simplify the cost of getting started. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of the system structure of the present invention;

[0032] Figure 2 It is a schematic diagram of the operation flow of the present invention. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0034] The present invention provides a full test cycle document generation system based on a custom template, which mainly includes the following parts:

[0035] a. Project Management Module

[0036] b. Data processing module

[0037] c. Document generation module

[0038] d. Log module

[0039] e. Database

[0040] in,

[0041] a. Project management module

[0042] The project management module is responsible for the life cycle management of the entire test document generation. It provides functions such as creation, editing, and deletion of projects and generation plans to ensure orderly management of projects. This module can be associated with projects on the data management system to facilitate users to manage the relationship between test platform data and user-defined data.

[0043] b. Data processing module

[0044] The data module is the data entry management of the system. It is used to obtain the test data on the data management platform and the report content information customized by the system users, and convert the relevant data format to transmit it to the document generation module. This module supports the processing of all types of document data in the test cycle. Customized template documents of different cycles have different receipt pages. You can fill in the data content required by the corresponding document according to the page prompts.

[0045] c. Document generation module

[0046] The main function of the document generation module is to fill the formatted data into the custom word template to generate a test report. The custom word template uses jinji2 grammar rules for constraints. By adding feature values ​​in the template document, the formatted data can correspond to the feature values ​​one by one, so that the feature values ​​are replaced with the data content to be filled in. By modifying the style and layout of the feature values, the generated document format can be customized. The custom data types include titles, paragraphs, pictures, and text. Users can reference data variables through the "{{}}" symbol, and can also process different data contents under various conditions by writing simple logical processing statements. After the processing is completed, the user can browse and view the document on the front-end page, or save the document to the local computer through the page button.

[0047] When processing test data, the data body structure is regularized through the quick sorting method, multiple related data bodies are integrated using global marking points, and XML structure data is written to organize the ordered multi-layer title content generated in the word document and generate the document's directory structure and document page number.

[0048] d. Log module

[0049] The log module can record the user's operations and generated document information. Users can view and obtain all document data ever generated in the project through the log, and can also download the document files ever generated from the log.

[0050] e. Database

[0051] The database is used to persist user-defined data content, generated document information, and user operation records.

[0052] The present invention takes the generation of a test document for test data of a system project as an example.

[0053] Log in to the system homepage, create a new test task, and associate it with the data management system.

[0054] Go to the test document export page and fill in the relevant data required by the user in the document.

[0055] Fill in and submit. After verifying the test data, click Generate Document to execute the document export task.

[0056] After the export task is completed, you can click View Document on the page to view the generated test document, and click Download to save the document locally.

[0057] The above description is only a preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, and is not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A full test cycle document generation system based on custom templates, characterized in that: include: Project management module, responsible for the life cycle management of the entire test document generation; The data module is the data entry management of the system. It is used to obtain the test data on the data management platform and the report content information customized by the system users, and convert the relevant data format to transmit it to the document generation module; The document generation module fills the formatted data into the custom word template to generate a test report; The log module records the operations performed by users and the document information generated. Users can view and obtain all document data ever generated in the project through the log, and can also download the document files ever generated from the log; The database is used to persist user-defined data content, generated document information, and user operation records.

2. The method according to claim 1, characterized in that The project management module provides the creation, editing, and deletion functions of projects and generation plans to ensure orderly management of projects; this module can be associated with projects on the data management system to facilitate users to manage the relationship between test platform data and user-defined data.

3. The method according to claim 1, characterized in that The data module supports the processing of all types of document data in the test cycle. Customized template documents for different cycles have different receipt pages. You can fill in the data content required by the corresponding document according to the page prompts.

4. The method according to claim 1, characterized in that The document generation module uses the Jinji2 grammar rules to constrain the custom word template. By adding feature values ​​to the template document, the formatted data can correspond to the feature values ​​one by one, thereby replacing the feature values ​​with the data content to be filled in.

5. The method according to claim 4, characterized in that By modifying the style and layout of the feature values, you can customize the format of the generated document.

6. The method according to claim 5, characterized in that Custom data types include titles, paragraphs, images, and text. Users can reference data variables through the "{{}}" symbol, and can also process different data contents under several conditions by writing logical processing statements.

7. The method according to claim 6, characterized in that After processing is completed, you can browse and view the document on the front-end page, or save the document to your local computer through the page button.

8. The method according to claim 1, characterized in that When processing test data, the data body structure is regularized through the quick sorting method, multiple related data bodies are integrated using global marking points, and XML structure data is written to organize the ordered multi-layer title content generated in the word document and generate the document's directory structure and document page number.

Citation Information

Cited By

  • Test document generation method and device based on FPGA software test

    CN120448270A