Thinking about bug leakage during mobile app testing
Source: Internet
Author: User
<span id="Label3"></p><p><p>Background<br>As a result of the recent more exposure due to leakage caused by the site testing phase only found the bug, especially some involved in identity verification, authentication, payment, transaction and other issues, the consequences are very serious. therefore, the bug misses the test to do some thinking, and to Summarize.</p></p><p>Cause analysis<br>Bug is in fact any product can not be avoided a problem, not all bugs are found, including senior testing, more or less will appear online defects, who can not all the functions of the software operation, the use of the scene to be Thoughtful. Although can not be completely zero defect, but each release of the product, we need to pursue fewer defects, product complaints less and fewer.<br>Why the flaw leakage test, the main points are as Follows:<br>Requirements Review stage, the details of business requirements are not clear, not in-depth mining implicit expansion requirements<br>Problem analysis<br>In the actual product development process, the product demand is actually in a refinement process, in the requirement PRD document interactive document output to review, failed to some product details problems, hidden demand burst out, and test case writing is based on PRD Interactive Document.<br>Improvement measures<br>Before the requirements review, we should first carefully read the PRD and interactive documents, first formed their own thinking about the product, through the way the brain map of the product design of the question point, from the user or from the industry point of view to identify product design defect points;<br>Requirements Review meeting, with the listed questions to the product, development and communication of their doubts and questions about the product, a few more why? How is it implemented? Data Acquisition sources? How do I deal with data that exceeds expectations? What is the caching processing mechanism? Where is the data saved? Is the logic handled by the front-end or Back-end services? Is the backend service logic associated with a third party?<br>After the completion of the requirements review, according to a certain function, the requirements are divided into a number of large modules, large modules split into small function points, and then consider the specific implementation process of the function points<br>Test case coverage is not comprehensive, scene omission<br>Problem analysis<br>In the test case design process, It is easy to think of the constraints or the need blind area, we can not completely cover all the User's use of the scene, writing test cases of colleagues can not be all the scenes are thoughtful, all scenarios under the circumstances are written test cases this is not realistic.<br>Improvement measures<br>Column Mind map before the use case design begins<br>A mind map lists the business process, the front-end interface Logic. Then according to PRD and interactive documents, according to the UI interface into a large function block, and then in the large functional block, then cut into small function blocks, and finally to the function point, each function point through the ui, basic functions, boundaries, memory, interaction, network, exception, interface Logic and other dimensions of the use case design map, and listed the need to find products, development confirmation of Doubt.<br>Organize use case review after use case design is complete<br>(1) Organization development, Product test case review, and throw out the use case design questions, through product realization angle, data storage, product experience angle to review the use case to Perfect.<br>(2) If the time is abundant, the organization test group of Use case review is also very necessary, especially some experienced veteran or familiar with the business of old drivers, can be in use case review quickly help point out the missing points of use cases, to help testers open ideas, as much as possible to cover user scenarios, It is noteworthy that the use case review encountered uncertainty, should be immediately recorded, after the end of the timely identification of relevant personnel to avoid Speculation.<br>Refine use cases based on online user feedback flaws<br>Product testing released on-line, for user feedback defects, If the defect is caused by the scene design is not complete, we first analyze the scene of the problem is necessary or even present, if it is necessary, we can communicate with the technical interface, confirm the scene of some specific steps to reproduce, confirm the introduction of the cause, the Solution. Then the test case is perfected: in addition to the scenario case, consider some of the scenarios associated with the scenario, the test cases in a variety of scenarios in time to improve, review, add to the use case library.<br>The test phase is not strictly performed according to the test case<br>Problem analysis<br>Performing tests according to test cases allows us to avoid missing some test points as much as Possible. But some of our classmates do not strictly follow the test case to perform the test, so there are some missing bugs really should not.<br>Improvement measures<br>Test cases do not necessarily guarantee that all scenarios and function points can be covered, but strictly follow the test case to perform the test, to maximize the quality of the product to avoid defects.<br>In addition, develop a test record habit: for test blocking use cases, test fail use cases, should focus on and record, in the regression testing phase of the accurate regression testing, to ensure that the bug fixes caused by the introduction of new bugs can also be found.<br>Test environment, Limited test resources, resulting in defect leakage testing<br>Problem analysis<br>The environment of Internet financial products is complicated, the business system is not isolated, the related party is connected, and the related system often appears unstable, and the use of scarce resources, such as ID card, bank card and so on is limited, often test a valid data to discard a valid data, So we can do as far as possible through the mock, restore the Customer's real environment (such as network verification mock, bank card authentication mock), But after all, is not the real environment, due to environmental differences, there may be a lot of unexpected problems, these problems may only be exposed in the context of the feature, specific operating procedures , in our test environment can not be restored, only based on the production environment to verify the Problem.<br>Improvement measures<br>Introducing Grayscale Publishing (pre-release) testing<br>Test groups in the pre-release environment for regression testing, can basically simulate the real environment to perform the test environment can not test the use cases, without affecting the normal usage of users Online.<br>Case screening in production verification link<br>first, Production Verification Case grooming, production verification case in addition to filtering P0+P1 level case for regression, it should also contain the test case of the testing environment mock or baffle blocking, as well as the backend interface to the front-end response case, In the production regression phase in strict accordance with the production verification case execution to cover the real online environment scene<br>Enhance understanding of backend and associated party business logic<br>The front-end needs not only to understand the front-end and Back-end interface of the interactive business logic, but also to understand the backend interface and other related parties interface interaction logic, The test environment test case coverage of the overall degree of control, to ensure that the production environment test case coverage to achieve COMPREHENSIVENESS.<br>New bugs introduced by developers<br>Problem analysis<br>Some developers will only solve the problem described in the bug you submitted, and will not be able to troubleshoot all the points that might be involved in the problem, which may solve the problem and introduce a new Problem.<br> <br>In addition, a developer unfamiliar with the function module fixes the bug because the business is unfamiliar and poorly thought out leads to the unintended introduction of new bugs.<br>Improvement measures<br>Code review<br>From the code management level: develop and fix a bug submit code self-test by preparing for the test, the development team submits code for code review, which is less likely to introduce new bugs.<br>Precision Regression Testing<br>From the test self-cultivation level: after the development of the survey, through the way of diff code, understand the code change point, accurate analysis of the impact of the change point on the associated function points, the developer fixed the bug confirmed verification, and the associated function points as far as possible to traverse regression test to.<br>Find out how to develop a chat about how to fix this Feature.<br>With the development chat implementation is easy from the development of the design you can grasp the test point of attention, and records embodied in the use Case. For example, a development has done a function in some way, a bug has occurred, now the B function is implemented in the same way, then the most likely bug will appear in the B function.<br>The ET test (exploratory Testing) lacks<br>Problem analysis<br>Many of the bugs we find are not discovered by test case execution, They are randomly tested during testing, and these steps are not reflected in the test cases, and our test cases cannot cover all scenarios<br>Improvement measures<br>Et test after passing the admittance test<br>The test admission test is completed into the sit test phase: generally speaking, et testing is the easiest to find bugs, so in the test access test completed into the sit test phase, first a round of exploratory testing, so that most of the bugs first exposed in the pre-test, so that the cumulative number of bugs reached a certain peak, Early detection of bugs, the higher the Quality.<br>UAT in-group et tests prior to testing<br>When the sit test comes to an end, a group of ET tests are organized before the UAT test to allow different tests in the group to be tested with different test methods, Test thinking, Test experience, Test habits, and to discover some bugs that have been missed due to the limitations of the mindset, strange bugs, or unreasonable use of the Site.<br>Summarize<br>Flaw leakage test can not be eliminated, the leakage of defects after the occurrence, we need to learn to think, learn lessons, as far as possible to reduce the leakage of defects Measurement.<br><br><br><br></p><p><p>Thinking about bug leakage during mobile app testing</p></p></span>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service