A method and system for automated testing based on big data

An automated testing and big data technology, applied in the field of big data processing, can solve problems such as poor portability, low manual testing efficiency, and inability to use a big data platform, saving costs, improving automation coverage, and improving test efficiency.

Active Publication Date: 2019-05-17
MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing technology big data platform can also pass manual testing, but manual testing is inefficient and requires operators to fully understand the big data platform, which is technically difficult
[0005] In addition, the existing technology also has targeted automated testing of big data platforms, but it often designs automated testing frameworks for big data platforms for a specific system.
Targeted test frameworks have high test efficiency and high fit, but poor portability and cannot be used on other big data platforms

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
  • A method and system for automated testing based on big data
  • A method and system for automated testing based on big data
  • A method and system for automated testing based on big data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0023] Such as figure 1 As shown, it is a flow chart of an automated testing method based on big data according to an embodiment of the present invention, and the method includes:

[0024] 101. Generate a test data set according to the business logic characteristics of the big data to be tested;

[0025] 102. Perform calculation according to the test data set to obtain an expected result;

[0026] 103. The test data set is represented by a plurality of test ...

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

An embodiment of the invention provides an automated testing method and an automated testing system based on big data. The method comprises the following steps of generating a testing data set according to a logical feature of to-be-tested business of the big data; carrying out calculation according to the testing data set, so as to obtain an expected result; expressing the testing data set by adopting multiple example classes for a test, wherein the multiple example classes for the test are all inherited from one base class; carrying out calculation on the multiple example classes for the test, so as to obtain an output result; comparing the expected result with the output result, so as to obtain a comparison result, wherein if the expected result is the same as the output result, the test is passed, otherwise, failing in the test. The technical scheme has the following beneficial effects that the testing problem of a universal big data processing system is solved; the automated completion is achievable; the testing efficiency can be improved; the cost is reduced; the automated testing method and the automated testing system based on the big data are transferable and reusable, and can be applied to the automated testing of the big data.

Description

technical field [0001] The invention relates to the technical field of big data processing, in particular to an automated testing method and system based on big data. Background technique [0002] Big data (big data): refers to the collection of data that cannot be captured, managed and processed by conventional software tools within an affordable time frame. [0003] Existing technology big data micro-load testing, automated testing for a specific component or application of the big data platform. For example, GridMix is ​​a test benchmark for Hadoop clusters; TeraSort is only for sorting text data; YCSB developed by Yahoo compares the performance of NoSQL databases, its purpose is to evaluate key-value and cloud databases; Facebook's LinkBench is specially used to test storage social graphs and networks The service's database. Existing technologies only test a specific component or application of the big data platform, which has high limitations. [0004] The existing t...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3672
Inventor 丁玲
Owner MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products