Supercharge Your Innovation With Domain-Expert AI Agents!

Java test code quality evaluation method for Appium

A technology for testing code and code quality, applied in the field of Appium-oriented Java test code quality evaluation, to save time for code quality, improve work efficiency, and avoid mistakes

Active Publication Date: 2018-10-02
INST OF BIG DATA RES AT YANCHENG OF NANJING UNIV OF POSTS & TELECOMM
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide an Appium-oriented Java test code quality evaluation method to solve the current defects of manual testing in mobile application testing, improve the efficiency of testing work and ensure the fairness of code evaluation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Java test code quality evaluation method for Appium
  • Java test code quality evaluation method for Appium
  • Java test code quality evaluation method for Appium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] like figure 1 As shown, an Appium-oriented Java test code quality evaluation method includes the following steps:

[0042] S1: Create a data table for the first time, extract the method name called by the appium object in the Java file and the parameters corresponding to the method name from all Java files submitted by the user, and form a data sheet with the method name and the parameter values ​​corresponding to the method surface;

[0043] S2: Filtering processing, given the white list and black list in advance, combined with the white list and black list to filter the data table described in S1 and generate a standard template for code quality evaluation;

[0044] S3: Code quality evaluation, compare the method name called by the appium object extracted from the Java file submitted by each user and the parameters corresponding to the method with the standard template described in S2, calculate the ratio, and obtain the code quality of the user the final judgment r...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention discloses a Java test code quality evaluation method for the Appium. By using the method, the evaluator can evaluate the test code quality of the user in a facilitated manner, and the difficulty for the evaluator to evaluate the test code quality is reduced. The method comprises: in combination with the whitelist and blacklist given by the evaluator in advance, performing filtering processing on Java files submitted by all users to generate a standard template; comparing the Java file submitted by each user with the standard template to obtain a proportion; and finally, combined with the corresponding code quality evaluation criteria, obtaining a final evaluation result of the test code quality of the user. According to the method disclosed by the present invention, the fairness of the test code quality evaluation is ensured to a certain extent, the workload of the evaluation is reduced, and the work efficiency is greatly improved.

Description

technical field [0001] The invention belongs to the technical field of software testing, and in particular relates to an Appium-oriented Java testing code quality evaluation method. Background technique [0002] With the popularization of more and more smartphones and smart devices, the number of applications is gradually increasing, and the business complexity is also increasing. Therefore, mobile applications increasingly require various tests to ensure the correct and stable operation of the application and the device itself, and thus the demand for mobile application testing is increasing. [0003] The mobile application is essentially a reduced web program with a small screen and inconvenient operation, so the user experience is emphasized. Mobile applications are generally oriented to individual users, and usually have relatively simple operations and business logic. Therefore, the testing of mobile applications is relatively simpler than web testing. [0004] Mobile...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
CPCG06F11/3608
Inventor 王子元佘飞燕
Owner INST OF BIG DATA RES AT YANCHENG OF NANJING UNIV OF POSTS & TELECOMM
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More