Test Library-based UI component library test method, storage medium and electronic equipment

The invention relates to the technical field of front-end code testing, solves the problems of high testing difficulty and low efficiency of a UI component library in the prior art, and discloses a testing Library-based UI component library testing method, a storage medium and electronic equipment,...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WANG XIONGHUI, LIU TINGJIE, ZHAO ZHANGWAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator WANG XIONGHUI
LIU TINGJIE
ZHAO ZHANGWAN
description The invention relates to the technical field of front-end code testing, solves the problems of high testing difficulty and low efficiency of a UI component library in the prior art, and discloses a testing Library-based UI component library testing method, a storage medium and electronic equipment, the method comprises the following steps: carrying out global configuration on a to-be-tested UI component library; extracting a query method of component key DOM nodes in the UI component library to be tested and a user event interaction method, and compiling corresponding test cases; generating a JSDoc document according to the test case; the query method and the user event interaction method are introduced into a web project, sample codes are provided for a user, repeated codes can be reduced, a developer can check how to query the elements and how to trigger the user event without browsing a source code, and in addition, the efficiency of the user event interaction is improved. The use mode and the basic test c
format Patent
fullrecord <record><control><sourceid>epo_EVB</sourceid><recordid>TN_cdi_epo_espacenet_CN117724988A</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>CN117724988A</sourcerecordid><originalsourceid>FETCH-epo_espacenet_CN117724988A3</originalsourceid><addsrcrecordid>eNqNi70KwjAYRbs4iPoOn7sdqkLrKEVREKe6CSVNrhrIn8nXwbe3og_gdDmcc8fZtUFiOukuivjKO5Gg6HIk6W3wDo7JfBXxp7Pgh1cLSuyjuGNgpXtLwimCgeTonZaEZ6-DHc7TbHQTJmH220k23--a-pAj-BYpCAkHbutzUZTlcr2pqu3qn-YNlHc73g</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>patent</recordtype></control><display><type>patent</type><title>Test Library-based UI component library test method, storage medium and electronic equipment</title><source>esp@cenet</source><creator>WANG XIONGHUI ; LIU TINGJIE ; ZHAO ZHANGWAN</creator><creatorcontrib>WANG XIONGHUI ; LIU TINGJIE ; ZHAO ZHANGWAN</creatorcontrib><description>The invention relates to the technical field of front-end code testing, solves the problems of high testing difficulty and low efficiency of a UI component library in the prior art, and discloses a testing Library-based UI component library testing method, a storage medium and electronic equipment, the method comprises the following steps: carrying out global configuration on a to-be-tested UI component library; extracting a query method of component key DOM nodes in the UI component library to be tested and a user event interaction method, and compiling corresponding test cases; generating a JSDoc document according to the test case; the query method and the user event interaction method are introduced into a web project, sample codes are provided for a user, repeated codes can be reduced, a developer can check how to query the elements and how to trigger the user event without browsing a source code, and in addition, the efficiency of the user event interaction is improved. The use mode and the basic test c</description><language>chi ; eng</language><subject>CALCULATING ; COMPUTING ; COUNTING ; ELECTRIC DIGITAL DATA PROCESSING ; PHYSICS</subject><creationdate>2024</creationdate><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://worldwide.espacenet.com/publicationDetails/biblio?FT=D&amp;date=20240319&amp;DB=EPODOC&amp;CC=CN&amp;NR=117724988A$$EHTML$$P50$$Gepo$$Hfree_for_read</linktohtml><link.rule.ids>230,308,778,883,25547,76298</link.rule.ids><linktorsrc>$$Uhttps://worldwide.espacenet.com/publicationDetails/biblio?FT=D&amp;date=20240319&amp;DB=EPODOC&amp;CC=CN&amp;NR=117724988A$$EView_record_in_European_Patent_Office$$FView_record_in_$$GEuropean_Patent_Office$$Hfree_for_read</linktorsrc></links><search><creatorcontrib>WANG XIONGHUI</creatorcontrib><creatorcontrib>LIU TINGJIE</creatorcontrib><creatorcontrib>ZHAO ZHANGWAN</creatorcontrib><title>Test Library-based UI component library test method, storage medium and electronic equipment</title><description>The invention relates to the technical field of front-end code testing, solves the problems of high testing difficulty and low efficiency of a UI component library in the prior art, and discloses a testing Library-based UI component library testing method, a storage medium and electronic equipment, the method comprises the following steps: carrying out global configuration on a to-be-tested UI component library; extracting a query method of component key DOM nodes in the UI component library to be tested and a user event interaction method, and compiling corresponding test cases; generating a JSDoc document according to the test case; the query method and the user event interaction method are introduced into a web project, sample codes are provided for a user, repeated codes can be reduced, a developer can check how to query the elements and how to trigger the user event without browsing a source code, and in addition, the efficiency of the user event interaction is improved. The use mode and the basic test c</description><subject>CALCULATING</subject><subject>COMPUTING</subject><subject>COUNTING</subject><subject>ELECTRIC DIGITAL DATA PROCESSING</subject><subject>PHYSICS</subject><fulltext>true</fulltext><rsrctype>patent</rsrctype><creationdate>2024</creationdate><recordtype>patent</recordtype><sourceid>EVB</sourceid><recordid>eNqNi70KwjAYRbs4iPoOn7sdqkLrKEVREKe6CSVNrhrIn8nXwbe3og_gdDmcc8fZtUFiOukuivjKO5Gg6HIk6W3wDo7JfBXxp7Pgh1cLSuyjuGNgpXtLwimCgeTonZaEZ6-DHc7TbHQTJmH220k23--a-pAj-BYpCAkHbutzUZTlcr2pqu3qn-YNlHc73g</recordid><startdate>20240319</startdate><enddate>20240319</enddate><creator>WANG XIONGHUI</creator><creator>LIU TINGJIE</creator><creator>ZHAO ZHANGWAN</creator><scope>EVB</scope></search><sort><creationdate>20240319</creationdate><title>Test Library-based UI component library test method, storage medium and electronic equipment</title><author>WANG XIONGHUI ; LIU TINGJIE ; ZHAO ZHANGWAN</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-epo_espacenet_CN117724988A3</frbrgroupid><rsrctype>patents</rsrctype><prefilter>patents</prefilter><language>chi ; eng</language><creationdate>2024</creationdate><topic>CALCULATING</topic><topic>COMPUTING</topic><topic>COUNTING</topic><topic>ELECTRIC DIGITAL DATA PROCESSING</topic><topic>PHYSICS</topic><toplevel>online_resources</toplevel><creatorcontrib>WANG XIONGHUI</creatorcontrib><creatorcontrib>LIU TINGJIE</creatorcontrib><creatorcontrib>ZHAO ZHANGWAN</creatorcontrib><collection>esp@cenet</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>WANG XIONGHUI</au><au>LIU TINGJIE</au><au>ZHAO ZHANGWAN</au><format>patent</format><genre>patent</genre><ristype>GEN</ristype><title>Test Library-based UI component library test method, storage medium and electronic equipment</title><date>2024-03-19</date><risdate>2024</risdate><abstract>The invention relates to the technical field of front-end code testing, solves the problems of high testing difficulty and low efficiency of a UI component library in the prior art, and discloses a testing Library-based UI component library testing method, a storage medium and electronic equipment, the method comprises the following steps: carrying out global configuration on a to-be-tested UI component library; extracting a query method of component key DOM nodes in the UI component library to be tested and a user event interaction method, and compiling corresponding test cases; generating a JSDoc document according to the test case; the query method and the user event interaction method are introduced into a web project, sample codes are provided for a user, repeated codes can be reduced, a developer can check how to query the elements and how to trigger the user event without browsing a source code, and in addition, the efficiency of the user event interaction is improved. The use mode and the basic test c</abstract><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier
ispartof
issn
language chi ; eng
recordid cdi_epo_espacenet_CN117724988A
source esp@cenet
subjects CALCULATING
COMPUTING
COUNTING
ELECTRIC DIGITAL DATA PROCESSING
PHYSICS
title Test Library-based UI component library test method, storage medium and electronic equipment
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-16T08%3A34%3A54IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-epo_EVB&rft_val_fmt=info:ofi/fmt:kev:mtx:patent&rft.genre=patent&rft.au=WANG%20XIONGHUI&rft.date=2024-03-19&rft_id=info:doi/&rft_dat=%3Cepo_EVB%3ECN117724988A%3C/epo_EVB%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true